Class ServerboundContainerClosePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundContainerClosePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundContainerClosePacket(int containerId) ServerboundContainerClosePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ServerboundContainerClosePacketwithContainerId(int containerId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundContainerClosePacket
public ServerboundContainerClosePacket(io.netty.buffer.ByteBuf in) -
ServerboundContainerClosePacket
public ServerboundContainerClosePacket(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).
-