| 
    PocketMine-MP 5.37.1 git-cef37e7835c666594588f957a47b27d521c6a58e
    
   | 
 
 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\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 |