net.minecraft.network.packet.c2s.play

public record DebugSubscriptionRequestC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundDebugSubscriptionRequestPacket
net.minecraft.class_9179
net.minecraft.network.packet.c2s.play.DebugSubscriptionRequestC2SPacket

Field summary

Modifier and TypeField
private final Set<DebugSubscriptionType<?>>
subscriptions
comp_4832
subscriptions
private static final PacketCodec<RegistryByteBuf, Set<DebugSubscriptionType<?>>>
SET_STREAM_CODEC
field_62791
TYPE_SET_CODEC
public static final PacketCodec<RegistryByteBuf, DebugSubscriptionRequestC2SPacket>
STREAM_CODEC
field_48784
CODEC

Constructor summary

ModifierConstructor
public (Set<DebugSubscriptionType<?>> subscriptions)

Method summary

Modifier and TypeMethod
public PacketType<DebugSubscriptionRequestC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_56620(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public Set<DebugSubscriptionType<?>>
subscriptions()
comp_4832()
subscriptions()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)