Skip to content

Lodestone 5.46.0 ​

class · pocketmine\block\tile\Lodestone · source

Extends Tile

Lodestone block entity. Stores the position tracking handle that lodestone compasses linked to it refer to.

Constants ​

TAG_TRACKING_HANDLE ​

php
public const TAG_TRACKING_HANDLE = "trackingHandle"

Methods ​

getTrackingHandle() ​

php
public function getTrackingHandle() : ?int

readSaveData() ​

php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void

setTrackingHandle() ​

php
public function setTrackingHandle(?int $trackingHandle) : void

writeSaveData() protected ​

php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.