[1.20.6] Working towards 1.20.6-v1: 1.20.6 support

Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
This commit is contained in:
Irmo van den Berge committed 2024-05-09 15:52:51 +02:00
1 parent 5829ec8e21
commit 25de61e890
6 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ plugins {
val buildNumber = System.getenv("BUILD_NUMBER") ?: "NO-CI"
group = "com.bergerkiller.bukkit"
version = "1.20.5-v1-SNAPSHOT"
version = "1.20.6-v1-SNAPSHOT"
repositories {
mavenLocal {
+2 -2
View File
@@ -1,6 +1,6 @@
[versions]
template-minecraft-version = "1.20.5"
spigot = "1.20.5-R0.1-SNAPSHOT"
template-minecraft-version = "1.20.6"
spigot = "1.20.6-R0.1-SNAPSHOT"
netty = "4.1.42.Final"
log4j = "2.17.0"
mountiplex = "3.11"
@@ -63,7 +63,7 @@ public class Common {
* <b>Use getVersion() instead if you want the actual, current version!
* Constants get inlined when compiling!</b>
*/
public static final int VERSION = 12005;
public static final int VERSION = 12006;
/**
* Defines the Minecraft version that runs on the server.
*/
@@ -253,8 +253,11 @@ public class ItemStackDeserializer implements Function<Map<String, Object>, Item
}
});
// From MC 1.20.6 to 1.20.5
this.register(3837, NO_CONVERSION);
// Maximum supported data version
this.max_version = 3837; // MC 1.20.5
this.max_version = 3839; // MC 1.20.6
}
// Registers a converter if it can convert from a future data version only
@@ -33,7 +33,7 @@ public class TemplateResolver implements ClassDeclarationResolver {
"1.17", "1.17.1",
"1.18", "1.18.1", "1.18.2",
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",
"1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4", "1.20.5"
"1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4", "1.20.5", "1.20.6"
};
@Override