Skip to content

EndPortal 5.46.0 ​

class · pocketmine\block\EndPortal · source

Extends Transparent

The inside of an activated End portal: takes entities that fall in to the End (or back to the Overworld from the End) at once.

Methods ​

canBeReplaced() ​

php
public function canBeReplaced() : bool

getDrops() ​

php
public function getDrops(\pocketmine\item\Item $item) : array

getLightLevel() ​

php
public function getLightLevel() : int

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

hasEntityCollision() ​

php
public function hasEntityCollision() : bool

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

isSolid() ​

php
public function isSolid() : bool

onEntityInside() ​

php
public function onEntityInside(\pocketmine\entity\Entity $entity) : bool

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

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