Working towards 1.21.6-v1

Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
This commit is contained in:
Irmo van den Berge committed 2025-06-22 14:51:33 +02:00
1 parent 06a55a7a50
commit 15c1922b30
7 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
group=com.bergerkiller.bukkit
version=1.21.5-v2-SNAPSHOT
version=1.21.6-v1-SNAPSHOT
+2 -2
View File
@@ -1,6 +1,6 @@
[versions]
template-minecraft-version = "1.21.5"
spigot = "1.21.5-R0.1-SNAPSHOT"
template-minecraft-version = "1.21.6"
spigot = "1.21.6-R0.1-SNAPSHOT"
netty = "4.1.42.Final"
log4j = "2.17.0"
mountiplex = "3.26"
@@ -82,7 +82,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 = 12105;
public static final int VERSION = 12106;
/**
* Defines the Minecraft version that runs on the server.
*/
@@ -75,7 +75,6 @@ public class Conversion {
public static final InputConverter<Object> toLongHashSetHandle = getConverterToHandle("com.bergerkiller.bukkit.common.internal.LongHashSet");
public static final InputConverter<Object> toIntHashMapHandle = getConverterToHandle("net.minecraft.util.IntHashMap");
public static final InputConverter<Object> toUseActionHandle = getConverterToHandle("net.minecraft.network.protocol.game.PacketPlayInUseEntity.EnumEntityUseAction");
public static final InputConverter<Object> toScoreboardActionHandle = getConverterToHandle("net.minecraft.network.protocol.game.PacketPlayOutScoreboardScore.EnumScoreboardAction");
public static final InputConverter<Object> toBlockDataHandle = getConverterToHandle("net.minecraft.world.level.block.state.IBlockData");
public static final InputConverter<Object> toChunkSectionHandle = getConverterToHandle("net.minecraft.world.level.chunk.ChunkSection");
public static final InputConverter<Object> toMobEffectList = getConverterToHandle("net.minecraft.world.effect.MobEffectList");
@@ -43,6 +43,7 @@ public abstract class PlayerFileDataHandler implements LazyInitializedObject, Li
void base_save(HumanEntity human);
}
// hooks WorldNBTStorage
@ClassHook.HookPackage("net.minecraft.server")
@ClassHook.HookLoadVariables("com.bergerkiller.bukkit.common.Common.TEMPLATE_RESOLVER")
protected static class PlayerFileDataHook extends ClassHook<PlayerFileDataHook> implements PlayerFileDataHandler.Hook {
@@ -34,7 +34,7 @@ public class TemplateResolver implements ClassDeclarationResolver {
"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.6",
"1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5"
"1.21", "1.21.1", "1.21.2", "1.21.3", "1.21.4", "1.21.5", "1.21.6"
};
@Override