net.minecraft.network.protocol.game

public record ServerboundChangeGameModePacket

implements Packet<ServerGamePacketListener>

ahr
net.minecraft.network.protocol.game.ServerboundChangeGameModePacket
net.minecraft.class_11410
net.minecraft.network.packet.c2s.play.ChangeGameModeC2SPacket

Field summary

Modifier and TypeField
private final GameType
b
mode
comp_4293
mode
public static final StreamCodec<io.netty.buffer.ByteBuf, ServerboundChangeGameModePacket>
a
STREAM_CODEC
field_60612
CODEC

Constructor summary

ModifierConstructor
public (GameType arg0)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundChangeGameModePacket>
a()
type()
method_65080()
getPacketType()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_71677(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public GameType
b()
mode()
comp_4293()
mode()