net.minecraft.network.packet.s2c.play

public class OpenScreenS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundOpenScreenPacket
net.minecraft.class_3944
net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, OpenScreenS2CPacket>
STREAM_CODEC
field_47945
CODEC
private final int
containerId
field_17436
syncId
private final ScreenHandlerType<?>
type
field_17437
screenHandlerId
private final Text
title
field_17438
name

Constructor summary

ModifierConstructor
public (int syncId, ScreenHandlerType<?> screenHandlerId, Text name)

Method summary

Modifier and TypeMethod
public PacketType<OpenScreenS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_17591(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getContainerId()
method_17592()
getSyncId()
public ScreenHandlerType<?>
getType()
method_17593()
getScreenHandlerType()
public Text
getTitle()
method_17594()
getName()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)