Skip to content

EndGateway 5.46.0 ​

class · pocketmine\block\EndGateway · source

Extends Transparent

End gateway: the beam block in a small bedrock frame that appears in the End each time the ender dragon is killed (and on the outer islands). Entities that enter it (and the owners of ender pearls thrown into it) are taken to its exit, see EndGatewayTravel. The exit is kept in its block entity (tile\EndGateway).

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.