NetherPortal
Extends Transparent
Properties
$axis protected
php
protected int $axisMethods
describeBlockOnlyState() protected
php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : voidgetAxis()
php
public function getAxis() : intgetDrops()
php
public function getDrops(\pocketmine\item\Item $item) : arraygetLightLevel()
php
public function getLightLevel() : intgetSupportType()
php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportTypehasEntityCollision() 5.46.0
php
public function hasEntityCollision() : boolisSolid()
php
public function isSolid() : boolonEntityInside()
php
public function onEntityInside(\pocketmine\entity\Entity $entity) : boolonNearbyBlockChange() 5.46.0
php
public function onNearbyBlockChange() : voidA portal block needs portal blocks of the same axis or obsidian above, below and on both sides along its axis; otherwise it breaks, and the neighbour updates break the rest of the portal.
recalculateCollisionBoxes() protected
php
protected function recalculateCollisionBoxes() : arraysetAxis()
php
public function setAxis(int $axis) : self