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
ConstructorsModifierConstructorDescriptionServerboundContainerClosePacket(int p_133970_) privateServerboundContainerClosePacket(FriendlyByteBuf p_179584_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(ServerGamePacketListener p_133976_) type()private voidwrite(FriendlyByteBuf p_133978_) 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
containerId
private final int containerId
-
-
Constructor Details
-
ServerboundContainerClosePacket
public ServerboundContainerClosePacket(int p_133970_) -
ServerboundContainerClosePacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getContainerId
public int getContainerId()
-