Class ClientboundOpenScreenPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundOpenScreenPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket> private final Component
private final MenuType
<?> -
Constructor Summary
ConstructorDescriptionClientboundOpenScreenPacket
(int p_132616_, MenuType<?> p_132617_, Component p_132618_) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
containerId
private final int containerId -
type
-
title
-
-
Constructor Details
-
ClientboundOpenScreenPacket
-
-
Method Details
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getContainerId
public int getContainerId() -
getType
-
getTitle
-