PickFromInventoryPacket

data class PickFromInventoryPacket(val slot: Int) : LegacyPacket

https://github.com/ViaVersion/ViaFabricPlus/blob/1957a175e4a4bff50860c0b3359d5219624fe434/src/main/java/com/viaversion/viafabricplus/features/world/item_picking/ItemPick1_21_3.java#L123

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.