mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-17 19:15:18 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cf7226306 |
No files matched your search
+9
-6
@@ -21,16 +21,19 @@ forgeVersion = 10.13.4.1614
|
|||||||
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
|
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
|
||||||
developmentEnvironmentUserName = Developer
|
developmentEnvironmentUserName = Developer
|
||||||
|
|
||||||
# Define a source file of your project with:
|
# Generate a class with String fields for the mod id, name, version and group name named with the fields below
|
||||||
|
generateGradleTokenClass = codechicken.core.asm.Tags
|
||||||
|
gradleTokenModId = MODID
|
||||||
|
gradleTokenModName = MODNAME
|
||||||
|
gradleTokenVersion = VERSION
|
||||||
|
gradleTokenGroupName = GROUPNAME
|
||||||
|
# [DEPRECATED]
|
||||||
|
# Multiple source files can be defined here by providing a comma-seperated list: Class1.java,Class2.java,Class3.java
|
||||||
# public static final String VERSION = "GRADLETOKEN_VERSION";
|
# public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||||
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
|
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
|
||||||
# version in @Mod([...], version = VERSION, [...])
|
# version in @Mod([...], version = VERSION, [...])
|
||||||
# Leave these properties empty to skip individual token replacements
|
# Leave these properties empty to skip individual token replacements
|
||||||
replaceGradleTokenInFile = CodeChickenCoreModContainer.java
|
replaceGradleTokenInFile =
|
||||||
gradleTokenModId = GRADLETOKEN_MODID
|
|
||||||
gradleTokenModName = GRADLETOKEN_MODNAME
|
|
||||||
gradleTokenVersion = GRADLETOKEN_VERSION
|
|
||||||
gradleTokenGroupName =
|
|
||||||
|
|
||||||
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
|
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
|
||||||
# leave this property empty.
|
# leave this property empty.
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ public class CodeChickenCoreModContainer extends DummyModContainer {
|
|||||||
|
|
||||||
private static ModMetadata getModMetadata() {
|
private static ModMetadata getModMetadata() {
|
||||||
final ModMetadata modMetadata = new ModMetadata();
|
final ModMetadata modMetadata = new ModMetadata();
|
||||||
modMetadata.name = "GRADLETOKEN_MODNAME";
|
modMetadata.name = "CodeChicken Core";
|
||||||
modMetadata.modId = "GRADLETOKEN_MODID";
|
modMetadata.modId = "CodeChickenCore";
|
||||||
modMetadata.version = "GRADLETOKEN_VERSION";
|
modMetadata.version = Tags.VERSION;
|
||||||
return modMetadata;
|
return modMetadata;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ public class CodeChickenCorePlugin implements IFMLLoadingPlugin, IFMLCallHook {
|
|||||||
public static final String mcVersion = "[1.7.10]";
|
public static final String mcVersion = "[1.7.10]";
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static final String version = "GRADLETOKEN_VERSION";
|
public static final String version = Tags.VERSION;
|
||||||
|
|
||||||
public static File minecraftDir;
|
public static File minecraftDir;
|
||||||
public static String currentMcVersion;
|
public static String currentMcVersion;
|
||||||
|
|||||||
Reference in new issue
Block a user