Definition at line 33 of file SavedItemStackData.php.
◆ __construct()
pocketmine\data\bedrock\item\SavedItemStackData::__construct |
( |
private SavedItemData | $typeData, |
|
|
private int | $count, |
|
|
private ?int | $slot, |
|
|
private ?bool | $wasPickedUp, |
|
|
private array | $canPlaceOn, |
|
|
private array | $canDestroy ) |
◆ getCanDestroy()
pocketmine\data\bedrock\item\SavedItemStackData::getCanDestroy |
( |
| ) |
|
◆ getCanPlaceOn()
pocketmine\data\bedrock\item\SavedItemStackData::getCanPlaceOn |
( |
| ) |
|
◆ getCount()
pocketmine\data\bedrock\item\SavedItemStackData::getCount |
( |
| ) |
|
◆ getSlot()
pocketmine\data\bedrock\item\SavedItemStackData::getSlot |
( |
| ) |
|
◆ getTypeData()
pocketmine\data\bedrock\item\SavedItemStackData::getTypeData |
( |
| ) |
|
◆ getWasPickedUp()
pocketmine\data\bedrock\item\SavedItemStackData::getWasPickedUp |
( |
| ) |
|
◆ toNbt()
pocketmine\data\bedrock\item\SavedItemStackData::toNbt |
( |
| ) |
|
◆ TAG_CAN_DESTROY
const pocketmine\data\bedrock\item\SavedItemStackData::TAG_CAN_DESTROY = "CanDestroy" |
◆ TAG_CAN_PLACE_ON
const pocketmine\data\bedrock\item\SavedItemStackData::TAG_CAN_PLACE_ON = "CanPlaceOn" |
◆ TAG_COUNT
const pocketmine\data\bedrock\item\SavedItemStackData::TAG_COUNT = "Count" |
◆ TAG_SLOT
const pocketmine\data\bedrock\item\SavedItemStackData::TAG_SLOT = "Slot" |
◆ TAG_WAS_PICKED_UP
const pocketmine\data\bedrock\item\SavedItemStackData::TAG_WAS_PICKED_UP = "WasPickedUp" |
The documentation for this class was generated from the following file: