PatcherExtensionpublic abstract class BaseExtension
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
java.lang.String |
paperGradleVersion |
|
protected org.gradle.api.Project |
project |
| Modifier | Constructor | Description |
|---|---|---|
protected |
BaseExtension(BasePlugin<? extends BaseExtension> plugin) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
copyFrom(BaseExtension ext) |
|
java.lang.String |
getMappingsChannel() |
Get the MCP mappings channel
|
java.lang.String |
getVersion() |
Get the Minecraft version
|
void |
setMappings(java.lang.String mappings) |
Set the MCP mappings channel and version
The format is: channel_version.Examples: stable_17, snapshot_20151113 |
void |
setSuppressVersionTest(boolean b) |
|
void |
setVersion(java.lang.String version) |
Set the Minecraft version
|
public final java.lang.String paperGradleVersion
protected transient org.gradle.api.Project project
protected BaseExtension(BasePlugin<? extends BaseExtension> plugin)
public void setSuppressVersionTest(boolean b)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - The Minecraft versionpublic void copyFrom(BaseExtension ext)
public void setMappings(java.lang.String mappings)
channel_version.stable_17, snapshot_20151113mappings - The channel and versionpublic java.lang.String getMappingsChannel()