Class ClientboundOpenScreenPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundOpenScreenPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundOpenScreenPacket
(int p_132616_, MenuType<?> p_132617_, Component p_132618_) ClientboundOpenScreenPacket
(FriendlyByteBuf p_179011_) -
Method Summary
Modifier and TypeMethodDescriptionint
getTitle()
MenuType<?>
getType()
void
handle
(ClientGamePacketListener p_132624_) void
write
(FriendlyByteBuf p_132627_) 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
-
Field Details
-
containerId
private final int containerId -
type
-
title
-
-
Constructor Details
-
ClientboundOpenScreenPacket
-
ClientboundOpenScreenPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getContainerId
public int getContainerId() -
getType
-
getTitle
-