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