Class ClientboundContainerClosePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.inventory.ClientboundContainerClosePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundContainerClosePacket(int containerId) ClientboundContainerClosePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundContainerClosePacketwithContainerId(int containerId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundContainerClosePacket
public ClientboundContainerClosePacket(io.netty.buffer.ByteBuf in) -
ClientboundContainerClosePacket
public ClientboundContainerClosePacket(int containerId)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getContainerId
public int getContainerId() -
equals
-
canEqual
-
hashCode
-
toString
-
withContainerId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-