net.minecraft.network.packet.s2c.play

public class OpenMountScreenS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundMountScreenOpenPacket
net.minecraft.class_2648
net.minecraft.network.packet.s2c.play.OpenMountScreenS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, OpenMountScreenS2CPacket>
STREAM_CODEC
field_47928
CODEC
private final int
containerId
field_12144
syncId
private final int
inventoryColumns
field_12143
slotColumnCount
private final int
entityId
field_12142
mountId

Constructor summary

ModifierConstructor
public (int syncId, int slotColumnCount, int mountId)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55880(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<OpenMountScreenS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11437(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getContainerId()
method_11432()
getSyncId()
public int
getInventoryColumns()
method_11434()
getSlotColumnCount()
public int
getEntityId()
method_11433()
getMountId()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)