pocketmine\level\Level::getBlockTempData PHP Method

getBlockTempData() public method

This method is internal use only. Do not use this in plugins
public getBlockTempData ( Vector3 $pos ) : integer
$pos pocketmine\math\Vector3
return integer
    public function getBlockTempData(Vector3 $pos)
    {
        if (isset($this->blockTempData[self::blockHash($pos->x, $pos->y, $pos->z)])) {
            return $this->blockTempData[self::blockHash($pos->x, $pos->y, $pos->z)];
        }
        return 0;
    }
Level