PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
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().
|
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\Chest, 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 |