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, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundContainerClosePacketwithContainerId(int containerId) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundContainerClosePacket
-
ClientboundContainerClosePacket
public ClientboundContainerClosePacket(int containerId)
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getContainerId
public int getContainerId() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withContainerId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-