aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts8
-rw-r--r--gradle/wrapper/gradle-wrapper.properties2
-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
5 files changed, 9 insertions, 9 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 57b0a73..4f28bcb 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -3,7 +3,7 @@ plugins {
java
id("gg.essential.loom") version "0.10.0.+"
id("dev.architectury.architectury-pack200") version "0.1.3"
- id("com.github.johnrengelman.shadow") version "7.1.2"
+ id("com.github.johnrengelman.shadow") version "8.1.1"
}
//Constants:
@@ -43,7 +43,7 @@ loom {
}
sourceSets.main {
- output.setResourcesDir(file("$buildDir/classes/java/main"))
+ output.resourcesDir = file("$buildDir/classes/java/main")
}
// Dependencies:
@@ -68,10 +68,10 @@ dependencies {
shadowImpl("org.spongepowered:mixin:0.7.11-SNAPSHOT") {
isTransitive = false
}
- annotationProcessor("org.spongepowered:mixin:0.8.4-SNAPSHOT")
+ annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT")
// If you don't want to log in with your real minecraft account, remove this line
- runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0")
+ runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.2")
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 8049c68..15de902 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
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": [