Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astei/krypton
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.5
Choose a base ref
...
head repository: astei/krypton
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 6 commits
  • 9 files changed
  • 2 contributors

Commits on Dec 30, 2023

  1. Copy the full SHA
    5d5870f View commit details

Commits on Jan 2, 2024

  1. 0.2.6

    astei committed Jan 2, 2024
    Copy the full SHA
    927923b View commit details

Commits on Apr 26, 2024

  1. Initial cut of Minecraft 1.20.5 version

    However, it looks like this keeps crashing in my local environment, and I need to dig deeper here...
    astei committed Apr 26, 2024
    Copy the full SHA
    66dcc36 View commit details

Commits on Apr 30, 2024

  1. 1.20.6

    astei committed Apr 30, 2024
    Copy the full SHA
    82aac06 View commit details
  2. Krypton 0.2.7

    astei committed Apr 30, 2024
    Copy the full SHA
    5a734a3 View commit details

Commits on Jun 22, 2024

  1. Krypton 0.2.8 (#117)

    BenCat07 authored Jun 22, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d5c8f54 View commit details
8 changes: 4 additions & 4 deletions 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'
}

@@ -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 {
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -2,10 +2,10 @@
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.21
yarn_mappings=1.21+build.2
loader_version=0.15.11
# Mod Properties
mod_version=0.2.5
mod_version=0.2.8
maven_group=me.steinborn
archives_base_name=krypton
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
@@ -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;
}

2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -31,6 +31,6 @@
"accessWidener": "krypton.accesswidener",
"depends": {
"fabricloader": ">=0.11.3",
"minecraft": ">=1.20.2"
"minecraft": ">=1.21"
}
}
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/ServerChunkLoadingManager$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
@@ -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",
@@ -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