类 Constants
java.lang.Object
net.minecraftforge.gradle.common.Constants
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final groovy.lang.Closure<Boolean>static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final OSstatic final Constants.SystemArchstatic final Stringstatic final Stringstatic final String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Filestatic Filestatic Filestatic Filestatic URLgetResource(String resource) Throws a null runtime exception if the resource isnt found.static PrintStreamgetTaskLogStream(org.gradle.api.Project project, String name) static Stringhash(byte[] bytes) static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringresolveString(Object obj) Resolves the supplied object to a string.
-
字段详细资料
-
OPERATING_SYSTEM
-
SYSTEM_ARCH
-
HASH_FUNC
- 另请参阅:
-
USER_AGENT
- 另请参阅:
-
EXT_NAME_MC
- 另请参阅:
-
EXT_NAME_JENKINS
- 另请参阅:
-
CALL_FALSE
-
URL_MC_MANIFEST
- 另请参阅:
-
MCP_URL
- 另请参阅:
-
ASSETS_URL
- 另请参阅:
-
LIBRARY_URL
- 另请参阅:
-
FORGE_MAVEN
- 另请参阅:
-
CONFIG_MCP_DATA
- 另请参阅:
-
MCP_JSON_URL
- 另请参阅:
-
NATIVES_DIR
- 另请参阅:
-
MCP_DATA_DIR
- 另请参阅:
-
JAR_CLIENT_FRESH
- 另请参阅:
-
JAR_SERVER_FRESH
- 另请参阅:
-
JAR_MERGED
- 另请参阅:
-
FERNFLOWER
- 另请参阅:
-
EXCEPTOR
- 另请参阅:
-
ASSETS
- 另请参阅:
-
JSONS_DIR
- 另请参阅:
-
VERSION_JSON
- 另请参阅:
-
NEWLINE
-
-
构造器详细资料
-
Constants
public Constants()
-
-
方法详细资料
-
cacheFile
-
file
-
file
-
getClassPath
-
getMinecraftDirectory
-
hash
-
hashAll
-
hash
-
hashZip
-
hash
-
hash
-
hash
-
getTaskLogStream
-
getResource
Throws a null runtime exception if the resource isnt found.- 参数:
resource- String name of the resource your looking for- 返回:
- URL
-
resolveString
Resolves the supplied object to a string. If the input is null, this will return null. Closures and Callables are called with no arguments. Arrays use Arrays.toString(). File objects return their absolute paths. All other objects have their toString run.- 参数:
obj- Object to resolve- 返回:
- resolved string
-