diff --git a/build.gradle.kts b/build.gradle.kts index 7286e59..e88f417 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -70,9 +70,9 @@ val shadowImpl: Configuration by configurations.creating { } dependencies { - minecraft("com.mojang:minecraft:1.8.9") - mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9") - forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9") + minecraft("com.mojang:minecraft:1.12.2") + mappings("de.oceanlabs.mcp:mcp_stable:39-1.12") + forge("net.minecraftforge:forge:1.12.2-14.23.5.2847") // For some reason it cant find a version newer than 2847 // If you don't want mixins, remove these lines shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") { diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java index c18b591..f3c9aee 100644 --- a/src/main/java/com/example/ExampleMod.java +++ b/src/main/java/com/example/ExampleMod.java @@ -8,6 +8,6 @@ public class ExampleMod { @Mod.EventHandler public void init(FMLInitializationEvent event) { - System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName()); + System.out.println("Dirt: " + Blocks.DIRT.getTranslationKey()); } } diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index ab6d5dd..bf0a3df 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -4,15 +4,15 @@ "name": "Xample Mod", "description": "A mod that is used as an example.", "version": "${version}", - "mcversion": "${mcversion}", - "url": "https://github.com/romangraef/Forge1.8.9Template/", - "updateUrl": "", - "authorList": [ - "You" - ], - "credits": "", - "logoFile": "", - "screenshots": [], - "dependencies": [] + "mcversion": "1.12.2", + "url": "https://github.com/romangraef/Forge1.8.9Template/tree/1.12.2", + "updateUrl": "", + "authorList": [ + "You" + ], + "credits": "", + "logoFile": "", + "screenshots": [], + "dependencies": [] } -] \ No newline at end of file +]