From d5c8f54283484563f6c2329054a81f1d4f24e190 Mon Sep 17 00:00:00 2001 From: LightCat <13179138+BenCat07@users.noreply.github.com> Date: Sun, 23 Jun 2024 01:03:46 +0200 Subject: [PATCH] Krypton 0.2.8 (#117) --- build.gradle | 6 +++--- gradle.properties | 8 ++++---- src/main/resources/fabric.mod.json | 2 +- src/main/resources/krypton.accesswidener | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 87b5ef6..11078f9 100644 --- a/build.gradle +++ b/build.gradle @@ -10,8 +10,8 @@ repositories { maven { name 'Jitpack'; url 'https://jitpack.io' } } -sourceCompatibility = JavaVersion.VERSION_17 -targetCompatibility = JavaVersion.VERSION_17 +sourceCompatibility = JavaVersion.VERSION_21 +targetCompatibility = JavaVersion.VERSION_21 archivesBaseName = project.archives_base_name version = project.mod_version @@ -28,7 +28,7 @@ dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" - modImplementation include("com.velocitypowered:velocity-native:3.2.0-SNAPSHOT") + modImplementation include("com.velocitypowered:velocity-native:3.3.0-SNAPSHOT") } test { diff --git a/gradle.properties b/gradle.properties index 85fa992..b43681d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,10 +2,10 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://modmuss50.me/fabric.html -minecraft_version=1.20.6 -yarn_mappings=1.20.6+build.1 -loader_version=0.15.10 +minecraft_version=1.21 +yarn_mappings=1.21+build.2 +loader_version=0.15.11 # Mod Properties -mod_version=0.2.7 +mod_version=0.2.8 maven_group=me.steinborn archives_base_name=krypton \ No newline at end of file diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 377ee23..a75c269 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -31,6 +31,6 @@ "accessWidener": "krypton.accesswidener", "depends": { "fabricloader": ">=0.11.3", - "minecraft": ">=1.20.2" + "minecraft": ">=1.21" } } diff --git a/src/main/resources/krypton.accesswidener b/src/main/resources/krypton.accesswidener index 4d5d449..378dba8 100644 --- a/src/main/resources/krypton.accesswidener +++ b/src/main/resources/krypton.accesswidener @@ -1,4 +1,4 @@ accessWidener v1 named accessible method net/minecraft/network/handler/SplitterHandler decode (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V -accessible field net/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker entity Lnet/minecraft/entity/Entity; \ No newline at end of file +accessible field net/minecraft/server/world/ServerChunkLoadingManager$EntityTracker entity Lnet/minecraft/entity/Entity; \ No newline at end of file