类 BaseExtension
java.lang.Object
net.minecraftforge.gradle.common.BaseExtension
- 直接已知子类:
DevExtension,UserExtension
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidChecks that the set mappings are valid based on the channel, version, and MC version.voidclientIntellijRun(groovy.lang.Closure<RunConfig> c) voidcopyFrom(BaseExtension ext) booleanvoidserverIntellijRun(groovy.lang.Closure<RunConfig> c) voidsetAssetDir(String value) 已过时。voidsetMappings(String mappings) voidsetMcpVersion(String mcpVersion) voidvoidsetVersion(String version) void
-
字段详细资料
-
project
protected transient org.gradle.api.Project project -
version
-
mcpVersion
-
runDir
-
mcpJson
-
mappingsSet
protected boolean mappingsSet -
mappingsChannel
-
mappingsVersion
protected int mappingsVersion -
customVersion
-
-
构造器详细资料
-
BaseExtension
-
-
方法详细资料
-
getVersion
-
setVersion
-
clientIntellijRun
-
serverIntellijRun
-
getMcpVersion
-
setMcpVersion
-
setRunDir
-
getRunDir
-
setAssetDir
已过时。 -
getSrgExtra
-
srgExtra
-
copyFrom
-
getMappings
-
getMappingsChannel
-
getMappingsChannelNoSubtype
-
getMappingsVersion
-
mappingsSet
public boolean mappingsSet() -
setMappings
-
checkMappings
protected void checkMappings()Checks that the set mappings are valid based on the channel, version, and MC version. If the mappings are invalid, this method will throw a runtime exception. -
getRunClient
-
getRunServer
-