◆ __construct()
◆ addItemToSlot()
Adds items to the target slot, if they are stackable.
- Exceptions
-
| ItemStackRequestProcessException | |
Definition at line 177 of file ItemStackRequestExecutor.php.
◆ beginCrafting()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::beginCrafting |
( |
int | $recipeId, |
|
|
int | $repetitions ) |
|
protected |
◆ buildItemStackResponse()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::buildItemStackResponse |
( |
| ) |
|
◆ dropItem()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::dropItem |
( |
Item | $item, |
|
|
int | $count ) |
|
protected |
◆ generateInventoryTransaction()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::generateInventoryTransaction |
( |
| ) |
|
◆ getBuilderInventoryAndSlot()
@phpstan-return array{TransactionBuilderInventory, int}
- Exceptions
-
| ItemStackRequestProcessException | |
Definition at line 119 of file ItemStackRequestExecutor.php.
◆ getItemStackResponseBuilder()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::getItemStackResponseBuilder |
( |
| ) |
|
◆ prettyInventoryAndSlot()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::prettyInventoryAndSlot |
( |
Inventory | $inventory, |
|
|
int | $slot ) |
|
protected |
◆ processItemStackRequestAction()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::processItemStackRequestAction |
( |
ItemStackRequestAction | $action | ) |
|
|
protected |
◆ removeItemFromSlot()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::removeItemFromSlot |
( |
ItemStackRequestSlotInfo | $slotInfo, |
|
|
int | $count ) |
|
protected |
Deducts items from an inventory slot, returning a stack containing the removed items.
- Exceptions
-
| ItemStackRequestProcessException | |
Definition at line 149 of file ItemStackRequestExecutor.php.
◆ setNextCreatedItem()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::setNextCreatedItem |
( |
?Item | $item, |
|
|
bool | $creative = false ) |
|
protected |
◆ takeCreatedItem()
| pocketmine\network\mcpe\handler\ItemStackRequestExecutor::takeCreatedItem |
( |
int | $count | ) |
|
|
protected |
◆ transferItems()
The documentation for this class was generated from the following file: