Skip to content

Commit

Permalink
Added 1.12.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
NopoTheGamer authored and nea89o committed Feb 14, 2024
1 parent 09cd280 commit 22e3b92
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/example/ExampleMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
22 changes: 11 additions & 11 deletions src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
}
]
]

0 comments on commit 22e3b92

Please sign in to comment.