diff options
| -rw-r--r-- | gradle.properties | 4 | ||||
| -rw-r--r-- | src/main/java/gregtech/GT_Mod.java | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gradle.properties b/gradle.properties index 7de46d9a1d..afdcba0467 100644 --- a/gradle.properties +++ b/gradle.properties @@ -26,10 +26,10 @@ developmentEnvironmentUserName = "Developer" # The string's content will be replaced with your mods version when compiled. You should use this to specify your mod's # version in @Mod([...], version = VERSION, [...]) # Leave these properties empty to skip individual token replacements -replaceGradleTokenInFile = +replaceGradleTokenInFile = GT_Mod.java gradleTokenModId = gradleTokenModName = -gradleTokenVersion = +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 diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java index 9ad5b3634f..963ff77ee5 100644 --- a/src/main/java/gregtech/GT_Mod.java +++ b/src/main/java/gregtech/GT_Mod.java @@ -77,7 +77,7 @@ import static gregtech.api.enums.GT_Values.MOD_ID_AE; import static gregtech.api.enums.GT_Values.MOD_ID_FR; @SuppressWarnings("ALL") -@Mod(modid = "gregtech", name = "GregTech", version = "MC1710", useMetadata = false, +@Mod(modid = "gregtech", name = "GregTech5-Unofficial", version = "GRADLETOKEN_VERSION", useMetadata = false, dependencies = " required-after:IC2;" + " required-after:structurelib;" + " after:dreamcraft;" + @@ -115,6 +115,8 @@ import static gregtech.api.enums.GT_Values.MOD_ID_FR; " after:TConstruct;" + " after:Translocator;") public class GT_Mod implements IGT_Mod { + + @Deprecated // Keep for use in BaseMetaTileEntity public static final int VERSION = 509, SUBVERSION = 40; public static final int TOTAL_VERSION = calculateTotalGTVersion(VERSION, SUBVERSION); public static final int REQUIRED_IC2 = 624; |
