Skip to content

Commit 5b849ec

Browse files
NopoTheGamerlineargraph
authored andcommitted
Added 1.12.2 support
1 parent 08479b3 commit 5b849ec

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Architectury Loom based template for 1.8.9 forge mods
1+
# Architectury Loom based template for 1.12.2 forge mods
22

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

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ val shadowImpl: Configuration by configurations.creating {
7474
}
7575

7676
dependencies {
77-
minecraft("com.mojang:minecraft:1.8.9")
78-
mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9")
79-
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")
77+
minecraft("com.mojang:minecraft:1.12.2")
78+
mappings("de.oceanlabs.mcp:mcp_stable:39-1.12")
79+
forge("net.minecraftforge:forge:1.12.2-14.23.5.2847") // For some reason it cant find a version newer than 2847
8080

8181
// If you don't want mixins, remove these lines
8282
shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") {

src/main/java/com/example/ExampleMod.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
public class ExampleMod {
1010
@Mod.EventHandler
1111
public void init(FMLInitializationEvent event) {
12-
System.out.println("Dirt: " + Blocks.dirt.getUnlocalizedName());
13-
// Below is a demonstration of an access-transformed class access.
14-
System.out.println("Color State: " + new GlStateManager.Color());
12+
System.out.println("Dirt: " + Blocks.DIRT.getTranslationKey());
13+
System.out.println("Color State: " + new GlStateManager.Color());
1514
}
1615
}

src/main/resources/mcmod.info

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"name": "Xample Mod",
55
"description": "A mod that is used as an example.",
66
"version": "${version}",
7-
"mcversion": "${mcversion}",
8-
"url": "https://github.com/romangraef/Forge1.8.9Template/",
9-
"updateUrl": "",
10-
"authorList": [
11-
"You"
12-
],
13-
"credits": "",
14-
"logoFile": "",
15-
"screenshots": [],
16-
"dependencies": []
7+
"mcversion": "1.12.2",
8+
"url": "https://github.com/romangraef/Forge1.8.9Template/tree/1.12.2",
9+
"updateUrl": "",
10+
"authorList": [
11+
"You"
12+
],
13+
"credits": "",
14+
"logoFile": "",
15+
"screenshots": [],
16+
"dependencies": []
1717
}
18-
]
18+
]

0 commit comments

Comments
 (0)