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 Aug 8, 2024
1 parent c1dabe3 commit 85bc2dc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Architectury Loom based template for 1.8.9 forge mods
# Architectury Loom based template for 1.12.2 forge mods

**For other templates, do check out the [other branches of this repository](https://github.com/romangraef/Forge1.8.9Template/branches/all)**

Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,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
5 changes: 2 additions & 3 deletions src/main/java/com/example/ExampleMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
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());
}
}
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 85bc2dc

Please sign in to comment.