Class ServerboundContainerClosePacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundContainerClosePacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
public class ServerboundContainerClosePacket
extends Object
implements Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerClosePacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(ServerGamePacketListener listener) type()private voidwrite(FriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
containerId
private final int containerId
-
-
Constructor Details
-
ServerboundContainerClosePacket
public ServerboundContainerClosePacket(int containerId) -
ServerboundContainerClosePacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getContainerId
public int getContainerId()
-