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