aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorILikePlayingGames <22475143+ILikePlayingGames@users.noreply.github.com>2023-07-01 23:41:16 -0400
committernea <nea@nea.moe>2023-07-02 14:16:32 +0200
commit8c46698f97bb22e3b16061912a34a03fe52da08b (patch)
treee790da034ee4fa2c90995d41dee92df027752bf9 /src
parent3d719d9224023b0b97e9e7cdc20904367f27d269 (diff)
downloadForge1.8.9Template-8c46698f97bb22e3b16061912a34a03fe52da08b.tar.gz
Forge1.8.9Template-8c46698f97bb22e3b16061912a34a03fe52da08b.tar.bz2
Forge1.8.9Template-8c46698f97bb22e3b16061912a34a03fe52da08b.zip
Update dependencies and fix bugs
- Update Gradle to 8.2-bin - Update Shadow to 8.1.1 - Update DevAuth to 1.1.2 - Update Mixin to 0.8.5 - Add some missed property substitutions
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/example/ExampleMod.java2
-rw-r--r--src/main/resources/mcmod.info2
-rw-r--r--src/main/resources/mixins.examplemod.json4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/example/ExampleMod.java b/src/main/java/com/example/ExampleMod.java
index 0e6967a..c18b591 100644
--- a/src/main/java/com/example/ExampleMod.java
+++ b/src/main/java/com/example/ExampleMod.java
@@ -4,7 +4,7 @@ import net.minecraft.init.Blocks;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
-@Mod(modid = "examplemod", version = "1.0.0")
+@Mod(modid = "examplemod", useMetadata=true)
public class ExampleMod {
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info
index e1f8be1..ab6d5dd 100644
--- a/src/main/resources/mcmod.info
+++ b/src/main/resources/mcmod.info
@@ -4,7 +4,7 @@
"name": "Xample Mod",
"description": "A mod that is used as an example.",
"version": "${version}",
- "mcversion": "1.8.9",
+ "mcversion": "${mcversion}",
"url": "https://github.com/romangraef/Forge1.8.9Template/",
"updateUrl": "",
"authorList": [
diff --git a/src/main/resources/mixins.examplemod.json b/src/main/resources/mixins.examplemod.json
index ee27201..570a0d0 100644
--- a/src/main/resources/mixins.examplemod.json
+++ b/src/main/resources/mixins.examplemod.json
@@ -1,6 +1,6 @@
{
- "package": "com.example.mixin",
- "refmap": "mixins.examplemod.refmap.json",
+ "package": "${mixinGroup}",
+ "refmap": "mixins.${modid}.refmap.json",
"minVersion": "0.7",
"compatibilityLevel": "JAVA_8",
"mixins": [