3939import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundCommandsPacket ;
4040import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundCooldownPacket ;
4141import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundCustomChatCompletionsPacket ;
42- import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundDebugSamplePacket ;
42+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .debug . ClientboundDebugSamplePacket ;
4343import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundDeleteChatPacket ;
4444import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundDelimiterPacket ;
4545import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundDisguisedChatPacket ;
46+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundGameTestHighlightPosPacket ;
4647import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundLoginPacket ;
4748import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundPlayerChatPacket ;
4849import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundPlayerInfoRemovePacket ;
6566import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundTickingStepPacket ;
6667import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundUpdateAdvancementsPacket ;
6768import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .ClientboundUpdateRecipesPacket ;
69+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .debug .ClientboundDebugBlockValuePacket ;
70+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .debug .ClientboundDebugChunkValuePacket ;
71+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .debug .ClientboundDebugEntityValuePacket ;
72+ import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .debug .ClientboundDebugEventPacket ;
6873import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .entity .ClientboundAddEntityPacket ;
6974import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .entity .ClientboundAnimatePacket ;
7075import org .geysermc .mcprotocollib .protocol .packet .ingame .clientbound .entity .ClientboundDamageEventPacket ;
162167import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundClientTickEndPacket ;
163168import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundCommandSuggestionPacket ;
164169import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundConfigurationAcknowledgedPacket ;
165- import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundDebugSampleSubscriptionPacket ;
170+ import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundDebugSubscriptionRequestPacket ;
166171import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundLockDifficultyPacket ;
167172import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .ServerboundPlayerLoadedPacket ;
168173import org .geysermc .mcprotocollib .protocol .packet .ingame .serverbound .inventory .ServerboundContainerButtonClickPacket ;
226231
227232public class MinecraftCodec {
228233 public static final PacketCodec CODEC = PacketCodec .builder ()
229- .protocolVersion ((1 << 30 ) | 267 )
230- .minecraftVersion ("25w36b " )
234+ .protocolVersion ((1 << 30 ) | 268 )
235+ .minecraftVersion ("25w37a " )
231236 .state (ProtocolState .HANDSHAKE , MinecraftPacketRegistry .builder ()
232237 .registerServerboundPacket (ClientIntentionPacket .class , ClientIntentionPacket ::new )
233238 )
@@ -306,6 +311,10 @@ public class MinecraftCodec {
306311 .registerClientboundPacket (ClientboundCustomChatCompletionsPacket .class , ClientboundCustomChatCompletionsPacket ::new )
307312 .registerClientboundPacket (ClientboundCustomPayloadPacket .class , ClientboundCustomPayloadPacket ::new )
308313 .registerClientboundPacket (ClientboundDamageEventPacket .class , ClientboundDamageEventPacket ::new )
314+ .registerClientboundPacket (ClientboundDebugBlockValuePacket .class , ClientboundDebugBlockValuePacket ::new )
315+ .registerClientboundPacket (ClientboundDebugChunkValuePacket .class , ClientboundDebugChunkValuePacket ::new )
316+ .registerClientboundPacket (ClientboundDebugEntityValuePacket .class , ClientboundDebugEntityValuePacket ::new )
317+ .registerClientboundPacket (ClientboundDebugEventPacket .class , ClientboundDebugEventPacket ::new )
309318 .registerClientboundPacket (ClientboundDebugSamplePacket .class , ClientboundDebugSamplePacket ::new )
310319 .registerClientboundPacket (ClientboundDeleteChatPacket .class , ClientboundDeleteChatPacket ::new )
311320 .registerClientboundPacket (ClientboundDisconnectPacket .class , ClientboundDisconnectPacket ::new )
@@ -315,6 +324,7 @@ public class MinecraftCodec {
315324 .registerClientboundPacket (ClientboundExplodePacket .class , ClientboundExplodePacket ::new )
316325 .registerClientboundPacket (ClientboundForgetLevelChunkPacket .class , ClientboundForgetLevelChunkPacket ::new )
317326 .registerClientboundPacket (ClientboundGameEventPacket .class , ClientboundGameEventPacket ::new )
327+ .registerClientboundPacket (ClientboundGameTestHighlightPosPacket .class , ClientboundGameTestHighlightPosPacket ::new )
318328 .registerClientboundPacket (ClientboundHorseScreenOpenPacket .class , ClientboundHorseScreenOpenPacket ::new )
319329 .registerClientboundPacket (ClientboundHurtAnimationPacket .class , ClientboundHurtAnimationPacket ::new )
320330 .registerClientboundPacket (ClientboundInitializeBorderPacket .class , ClientboundInitializeBorderPacket ::new )
@@ -436,7 +446,7 @@ public class MinecraftCodec {
436446 .registerServerboundPacket (ServerboundContainerSlotStateChangedPacket .class , ServerboundContainerSlotStateChangedPacket ::new )
437447 .registerServerboundPacket (ServerboundCookieResponsePacket .class , ServerboundCookieResponsePacket ::new )
438448 .registerServerboundPacket (ServerboundCustomPayloadPacket .class , ServerboundCustomPayloadPacket ::new )
439- .registerServerboundPacket (ServerboundDebugSampleSubscriptionPacket .class , ServerboundDebugSampleSubscriptionPacket ::new )
449+ .registerServerboundPacket (ServerboundDebugSubscriptionRequestPacket .class , ServerboundDebugSubscriptionRequestPacket ::new )
440450 .registerServerboundPacket (ServerboundEditBookPacket .class , ServerboundEditBookPacket ::new )
441451 .registerServerboundPacket (ServerboundEntityTagQuery .class , ServerboundEntityTagQuery ::new )
442452 .registerServerboundPacket (ServerboundInteractPacket .class , ServerboundInteractPacket ::new )
0 commit comments