PlayerInventoryActions
Public class in Bedriox\Api\Inventory.
Bedriox\Api\Inventory\PlayerInventoryActions
classBedriox\Api\Inventory
Public methods
__construct(Closure $setMainItem, Closure $setMainContents, Closure $addMainItem, Closure $removeMainItem, Closure $setSelectedHotbarSlot, Closure $setArmorItem, Closure $setArmorContents, Closure $setOffHandItem)Typed public method.
static unavailable(): selfTyped public method.
setMainItem(int $slot, ?Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
setMainContents(array $contents): voidTyped public method.
addMainItem(Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
removeMainItem(Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
setSelectedHotbarSlot(int $slot): voidTyped public method.
setArmorItem(Bedriox\Api\Inventory\EquipmentSlot $slot, ?Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
setArmorContents(array $contents): voidTyped public method.
setOffHandItem(?Bedriox\Api\Inventory\ItemStack $stack): voidTyped public method.
