Documentation

TakeStackRequestAction extends ItemStackRequestAction
in package
Uses GetTypeIdFromConstTrait, TakeOrPlaceStackRequestActionTrait

Takes some (or all) of the items from the source slot into the destination slot (usually the cursor?).

Table of Contents

ID  = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::TAKE
$count  : int
$destination  : ItemStackRequestSlotInfo
$source  : ItemStackRequestSlotInfo
__construct()  : mixed
getCount()  : int
getDestination()  : ItemStackRequestSlotInfo
getSource()  : ItemStackRequestSlotInfo
getTypeId()  : int
read()  : self
write()  : void

Constants

ID

public mixed ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::TAKE

Properties

Methods

Search results