class Rosegold::Serverbound::PickItem
- Rosegold::Serverbound::PickItem
- Rosegold::Serverbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Overview
Swap out an empty space on the hotbar with the item in the given inventory slot. The server selects an empty slot, swaps the items, and then sends 3 packets:
- SetSlot for server selected slot
- SetSlot for requested slot_number
- HeldItemChange for server selected slot