Port to 1.21. Close #59

This commit is contained in:
Jared 2024-06-20 03:22:56 -06:00
parent 74686cf664
commit 56b4f43b90
6 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
plugins { plugins {
id 'multiloader-loader' id 'multiloader-loader'
id 'fabric-loom' version '1.6-SNAPSHOT' id 'fabric-loom' version '1.7-SNAPSHOT'
} }
dependencies { dependencies {
minecraft "com.mojang:minecraft:${minecraft_version}" minecraft "com.mojang:minecraft:${minecraft_version}"

View File

@ -7,22 +7,22 @@ group=com.example.examplemod
java_version=21 java_version=21
# Common # Common
minecraft_version=1.20.6 minecraft_version=1.21
mod_name=ExampleMod mod_name=ExampleMod
mod_author=Jared mod_author=Jared
mod_id=examplemod mod_id=examplemod
license=CC0-1.0 license=CC0-1.0
credits= credits=
description=The description of your mod. \\nAccepts multilines (but they must be double-escaped). description=The description of your mod. \\nAccepts multilines (but they must be double-escaped).
minecraft_version_range=[1.20.6, 1.21) minecraft_version_range=[1.21, 1.22)
# Fabric # Fabric
fabric_version=0.99.0+1.20.6 fabric_version=0.100.1+1.21
fabric_loader_version=0.15.11 fabric_loader_version=0.15.11
# NeoForge # NeoForge
neoforge_version=20.6.72-beta neoforge_version=21.0.20-beta
neoforge_loader_version_range=[2,) neoforge_loader_version_range=[4,)
# Gradle # Gradle
org.gradle.jvmargs=-Xmx3G org.gradle.jvmargs=-Xmx3G

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

2
gradlew vendored
View File

@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop. # Darwin, MinGW, and NonStop.
# #
# (3) This script is generated from the Groovy template # (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project. # within the Gradle project.
# #
# You can find Gradle at https://github.com/gradle/gradle/. # You can find Gradle at https://github.com/gradle/gradle/.

View File

@ -1,6 +1,6 @@
plugins { plugins {
id 'multiloader-loader' id 'multiloader-loader'
id 'net.neoforged.gradle.userdev' version '7.0.133' id 'net.neoforged.gradle.userdev' version '7.0.145'
} }
// Automatically enable neoforge AccessTransformers if the file exists // Automatically enable neoforge AccessTransformers if the file exists

View File

@ -19,7 +19,7 @@ config = "${mod_id}.neoforge.mixins.json"
[[dependencies.${mod_id}]] #optional [[dependencies.${mod_id}]] #optional
modId = "neoforge" #mandatory modId = "neoforge" #mandatory
type="required" #mandatory (Can be one of "required", "optional", "incompatible" or "discouraged") type="required" #mandatory (Can be one of "required", "optional", "incompatible" or "discouraged")
versionRange = "${neoforge_loader_version_range}" #mandatory versionRange = "[${neoforge_version},)" #mandatory
ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory
side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER' side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER'
[[dependencies.${mod_id}]] [[dependencies.${mod_id}]]