|
PocketMine-MP 5.37.4 git-dbb3eefc44d5dddb20f540594fbda61467f50873
|
Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield:
Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield:Public Member Functions | |
| __construct (?CompoundTag $nbt, array $canPlaceOn, array $canDestroy, private int $blockingTick) | |
| getBlockingTick () | |
| getCanDestroy () | |
| getCanPlaceOn () | |
| getNbt () | |
| write (ByteBufferWriter $out) | |
Static Public Member Functions | |
| static | read (ByteBufferReader $in) |
Extension of ItemStackExtraData for shield items, which have an additional field for the blocking tick.
Definition at line 25 of file ItemStackExtraDataShield.php.
| pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::__construct | ( | ?CompoundTag | $nbt, |
| array | $canPlaceOn, | ||
| array | $canDestroy, | ||
| private int | $blockingTick ) |
| string[] | $canPlaceOn | |
| string[] | $canDestroy |
Definition at line 31 of file ItemStackExtraDataShield.php.
| pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::getBlockingTick | ( | ) |
Definition at line 40 of file ItemStackExtraDataShield.php.
|
inherited |
Definition at line 55 of file ItemStackExtraData.php.
|
inherited |
Definition at line 48 of file ItemStackExtraData.php.
|
inherited |
Definition at line 59 of file ItemStackExtraData.php.
|
static |
Reimplemented from pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraData.
Definition at line 42 of file ItemStackExtraDataShield.php.
| pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraDataShield::write | ( | ByteBufferWriter | $out | ) |
Reimplemented from pocketmine\network\mcpe\protocol\types\inventory\ItemStackExtraData.
Definition at line 50 of file ItemStackExtraDataShield.php.