aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/example/ExampleMod.java5
-rw-r--r--src/main/resources/mcmod.info22
2 files changed, 13 insertions, 14 deletions
diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java
index 2ce1671..fc9dd0d 100644
--- a/src/main/java/com/example/ExampleMod.java
+++ b/src/main/java/com/example/ExampleMod.java
@@ -9,8 +9,7 @@ import net.minecraftforge.fml.common.event.FMLInitializationEvent;
public class ExampleMod {
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
- System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName());
- // Below is a demonstration of an access-transformed class access.
- System.out.println("Color State: " + new GlStateManager.Color());
+ System.out.println("Dirt: " + Blocks.DIRT.getTranslationKey());
+ System.out.println("Color State: " + new GlStateManager.Color());
}
}
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
+]