Class ClientboundOpenScreenPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundOpenScreenPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundOpenScreenPacket(int p_132616_, MenuType<?> p_132617_, Component p_132618_)ClientboundOpenScreenPacket(FriendlyByteBuf p_179011_) -
Method Summary
Modifier and TypeMethodDescriptionintgetTitle()MenuType<?>getType()voidhandle(ClientGamePacketListener p_132624_)voidwrite(FriendlyByteBuf p_132627_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
containerId
private final int containerId -
type
private final int type -
title
-
-
Constructor Details
-
ClientboundOpenScreenPacket
-
ClientboundOpenScreenPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getContainerId
public int getContainerId() -
getType
-
getTitle
-