|
PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
|
Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction:
Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction:Public Member Functions | |
| __construct (private int $count, private ItemStackRequestSlotInfo $source, private bool $randomly) | |
| getCount () | |
| getSource () | |
| getTypeId () | |
| isRandomly () | |
| write (ByteBufferWriter $out) | |
Static Public Member Functions | |
| static | read (ByteBufferReader $in) |
Public Attributes | |
| const | ID = ItemStackRequestActionType::DROP |
Drops some (or all) items from the source slot into the world as an item entity.
Definition at line 26 of file DropStackRequestAction.php.
| pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::__construct | ( | private int | $count, |
| private ItemStackRequestSlotInfo | $source, | ||
| private bool | $randomly ) |
Definition at line 31 of file DropStackRequestAction.php.
| pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::getCount | ( | ) |
Definition at line 37 of file DropStackRequestAction.php.
| pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::getSource | ( | ) |
Definition at line 39 of file DropStackRequestAction.php.
| pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::isRandomly | ( | ) |
Definition at line 41 of file DropStackRequestAction.php.
|
static |
Definition at line 43 of file DropStackRequestAction.php.
| pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::write | ( | ByteBufferWriter | $out | ) |
Reimplemented from pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestAction.
Definition at line 50 of file DropStackRequestAction.php.
| const pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DropStackRequestAction::ID = ItemStackRequestActionType::DROP |
Definition at line 29 of file DropStackRequestAction.php.