|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\block\tile\DaylightSensor:
Collaboration diagram for pocketmine\block\tile\DaylightSensor:Public Member Functions | |
| close () | |
| copyDataFromItem (Item $item) | |
| getBlock () | |
| getCleanedNBT () | |
| getPosition () | |
| isClosed () | |
| onBlockDestroyed () | |
| readSaveData (CompoundTag $nbt) | |
| saveNBT () | |
Public Attributes | |
| bool | $closed = false |
| const | TAG_ID = "id" |
| const | TAG_X = "x" |
| const | TAG_Y = "y" |
| const | TAG_Z = "z" |
Protected Member Functions | |
| onBlockDestroyedHook () | |
| writeSaveData (CompoundTag $nbt) | |
Protected Attributes | |
| Position | $position |
| TimingsHandler | $timings |
Definition at line 35 of file tile/DaylightSensor.php.
|
inherited |
|
finalinherited |
Called when the tile's block is destroyed.
Definition at line 117 of file Tile.php.
References pocketmine\block\tile\onBlockDestroyedHook().
Here is the call graph for this function:
|
protectedinherited |
Override this method to do actions you need to do when this tile is destroyed due to block being broken.
Reimplemented in pocketmine\block\tile\Jukebox, and pocketmine\block\tile\ShulkerBox.
| pocketmine\block\tile\DaylightSensor::readSaveData | ( | CompoundTag | $nbt | ) |
Reimplemented from pocketmine\block\tile\Tile.
Definition at line 37 of file tile/DaylightSensor.php.
|
protected |
Writes additional save data to a CompoundTag, not including generic things like ID and coordinates.
Reimplemented from pocketmine\block\tile\Tile.
Definition at line 41 of file tile/DaylightSensor.php.
|
protectedinherited |
|
protectedinherited |