PickFromInventoryPacket

data class PickFromInventoryPacket(val slot: Int) : LegacyPacket

https://github.com/ViaVersion/ViaFabricPlus/blob/8f96c699edc97db8a3fc58c1533e8cf41dd46aaf/src/main/java/com/viaversion/viafabricplus/features/v1_21_2/ItemPick1_21_3.java#L123-L125

Constructors

Link copied to clipboard
constructor(slot: Int)

Properties

Link copied to clipboard
open override val packetType: ServerboundPackets1_21_2

The type of the packet.

Link copied to clipboard
open override val protocol: Class<Protocol1_21_2To1_21_4>

Should provide the class of the protocol from the version where the packet got removed to the version where it was still present.

Link copied to clipboard
val slot: Int

Functions

Link copied to clipboard
open override fun write(packetWrapper: PacketWrapper)

Writes the actual information to the packetWrapper.