Update base to 1.21.6
This commit is contained in:
@ -1,55 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nassim Jahnke <nassim@njahnke.dev>
|
||||
Date: Tue, 17 Jun 2025 04:53:03 +0200
|
||||
Subject: [PATCH] 1.21.6 patch
|
||||
|
||||
|
||||
diff --git a/net/minecraft/DetectedVersion.java b/net/minecraft/DetectedVersion.java
|
||||
index 08d96a04e49f5c17d85c9015693a8ef4e6a476c6..d2fde575226633ad00446b44222a39b9f3d25952 100644
|
||||
--- a/net/minecraft/DetectedVersion.java
|
||||
+++ b/net/minecraft/DetectedVersion.java
|
||||
@@ -20,13 +20,13 @@ public class DetectedVersion {
|
||||
private static WorldVersion createFromConstants() {
|
||||
return new WorldVersion.Simple(
|
||||
UUID.randomUUID().toString().replaceAll("-", ""),
|
||||
- "1.21.6-rc1",
|
||||
+ "1.21.6",
|
||||
new DataVersion(4434, "main"),
|
||||
SharedConstants.getProtocolVersion(),
|
||||
63,
|
||||
80,
|
||||
new Date(),
|
||||
- false
|
||||
+ true
|
||||
);
|
||||
}
|
||||
|
||||
diff --git a/net/minecraft/SharedConstants.java b/net/minecraft/SharedConstants.java
|
||||
index fdb3fc9b610f013d0e13936316fbba6c19bb21b0..dbb7414895e3720bd02083826ef60fdfc3f96398 100644
|
||||
--- a/net/minecraft/SharedConstants.java
|
||||
+++ b/net/minecraft/SharedConstants.java
|
||||
@@ -10,13 +10,13 @@ import net.minecraft.world.level.ChunkPos;
|
||||
|
||||
public class SharedConstants {
|
||||
@Deprecated
|
||||
- public static final boolean SNAPSHOT = true;
|
||||
+ public static final boolean SNAPSHOT = false;
|
||||
@Deprecated
|
||||
public static final int WORLD_VERSION = 4434;
|
||||
@Deprecated
|
||||
public static final String SERIES = "main";
|
||||
@Deprecated
|
||||
- public static final String VERSION_STRING = "1.21.6-rc1";
|
||||
+ public static final String VERSION_STRING = "1.21.6";
|
||||
@Deprecated
|
||||
public static final int RELEASE_NETWORK_PROTOCOL_VERSION = 771;
|
||||
@Deprecated
|
||||
@@ -165,7 +165,7 @@ public class SharedConstants {
|
||||
}
|
||||
|
||||
public static int getProtocolVersion() {
|
||||
- return 1073742080;
|
||||
+ return RELEASE_NETWORK_PROTOCOL_VERSION;
|
||||
}
|
||||
|
||||
public static boolean debugVoidTerrain(ChunkPos chunkPos) {
|
||||
Reference in New Issue
Block a user