Extension of ItemStackExtraData for shield items, which have an additional field for the blocking tick.
Definition at line 23 of file ItemStackExtraDataShield.php.
◆ __construct()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::__construct |
( |
?CompoundTag |
$nbt, |
|
|
array |
$canPlaceOn, |
|
|
array |
$canDestroy, |
|
|
private int |
$blockingTick |
|
) |
| |
◆ getBlockingTick()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::getBlockingTick |
( |
| ) |
|
◆ getCanDestroy()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraData::getCanDestroy |
( |
| ) |
|
|
inherited |
◆ getCanPlaceOn()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraData::getCanPlaceOn |
( |
| ) |
|
|
inherited |
◆ getNbt()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraData::getNbt |
( |
| ) |
|
|
inherited |
◆ read()
static pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::read |
( |
PacketSerializer |
$in | ) |
|
|
static |
◆ write()
pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::write |
( |
PacketSerializer |
$out | ) |
|
The documentation for this class was generated from the following file: