Skip to content

Commit

Permalink
Initial cut of Minecraft 1.20.5 version
Browse files Browse the repository at this point in the history
However, it looks like this keeps crashing in my local environment, and I need to dig deeper here...
  • Loading branch information
astei committed Apr 26, 2024
1 parent 927923b commit 66dcc36
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 49 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '0.12-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.1
loader_version=0.14.22
minecraft_version=1.20.5
yarn_mappings=1.20.5+build.1
loader_version=0.15.10
# Mod Properties
mod_version=0.2.6
maven_group=me.steinborn
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
if (mixinClassName.contains("CustomPayloadS2CPacketFabricAPICompatMixin")) {
// This mixin should only apply when Fabric API is present.
return FabricLoader.getInstance().isModLoaded("fabric-api");
}
return true;
}

Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/krypton.accesswidener
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
accessWidener v1 named

accessible class net/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker
accessible class net/minecraft/server/world/ThreadedAnvilChunkStorage$TicketManager
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;
accessible method net/minecraft/network/packet/s2c/common/CustomPayloadS2CPacket readUnknownPayload (Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/packet/UnknownCustomPayload;
accessible field net/minecraft/server/world/ThreadedAnvilChunkStorage$EntityTracker entity Lnet/minecraft/entity/Entity;
4 changes: 1 addition & 3 deletions src/main/resources/krypton.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"plugin": "me.steinborn.krypton.mod.shared.KryptonMixinPlugin",
"client": [],
"mixins": [
"shared.bugfix.CustomPayloadS2CPacketFabricAPICompatMixin",
"shared.debugaid.ResourceLeakDetectorDisableConditionalMixin",
"shared.network.microopt.EntityTrackerEntryMixin",
"shared.network.microopt.StringEncodingMixin",
Expand All @@ -15,8 +14,7 @@
"shared.network.pipeline.SplitterHandlerMixin",
"shared.network.pipeline.compression.ClientConnectionMixin",
"shared.network.pipeline.encryption.ClientConnectionMixin",
"shared.network.pipeline.encryption.ServerLoginNetworkHandlerMixin",
"shared.network.util.ServerCommonNetworkHandlerAccessor"
"shared.network.pipeline.encryption.ServerLoginNetworkHandlerMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 66dcc36

Please sign in to comment.