net.minecraft.network.protocol.game

public class ClientboundOpenScreenPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket>
a
STREAM_CODEC
field_47945
CODEC
private final int
b
containerId
field_17436
syncId
private final MenuType<?>
c
type
field_17437
screenHandlerId
private final Component
d
title
field_17438
name

Constructor summary

ModifierConstructor
public (int syncId, MenuType<?> screenHandlerId, Component name)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundOpenScreenPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_17591(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getContainerId()
method_17592()
getSyncId()
public MenuType<?>
e()
getType()
method_17593()
getScreenHandlerType()
public Component
f()
getTitle()
method_17594()
getName()