Class ServerboundSelectTradePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundSelectTradePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionServerboundSelectTradePacket(int slot) ServerboundSelectTradePacket(io.netty.buffer.ByteBuf in) -
Method Summary
Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ServerboundSelectTradePacket
public ServerboundSelectTradePacket(io.netty.buffer.ByteBuf in) -
ServerboundSelectTradePacket
public ServerboundSelectTradePacket(int slot)
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getSlot
public int getSlot() -
equals
-
canEqual
-
hashCode
-
toString
-
withSlot
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-