Definition at line 30 of file SavedItemData.php.
◆ __construct()
pocketmine\data\bedrock\item\SavedItemData::__construct |
( |
private string | $name, |
|
|
private int | $meta = 0, |
|
|
private ?BlockStateData | $block = null, |
|
|
private ?CompoundTag | $tag = null ) |
◆ getBlock()
pocketmine\data\bedrock\item\SavedItemData::getBlock |
( |
| ) |
|
◆ getMeta()
pocketmine\data\bedrock\item\SavedItemData::getMeta |
( |
| ) |
|
◆ getName()
pocketmine\data\bedrock\item\SavedItemData::getName |
( |
| ) |
|
◆ getTag()
pocketmine\data\bedrock\item\SavedItemData::getTag |
( |
| ) |
|
◆ toNbt()
pocketmine\data\bedrock\item\SavedItemData::toNbt |
( |
| ) |
|
◆ TAG_BLOCK
const pocketmine\data\bedrock\item\SavedItemData::TAG_BLOCK = "Block" |
◆ TAG_DAMAGE
const pocketmine\data\bedrock\item\SavedItemData::TAG_DAMAGE = "Damage" |
◆ TAG_NAME
const pocketmine\data\bedrock\item\SavedItemData::TAG_NAME = "Name" |
◆ TAG_TAG
const pocketmine\data\bedrock\item\SavedItemData::TAG_TAG = "tag" |
The documentation for this class was generated from the following file: