Skip to content

DriedGhast 5.46.0 ​

class · pocketmine\block\DriedGhast · source

Extends Transparent
Implements HorizontalFacing

Dried ghast (https://minecraft.wiki/w/Dried_Ghast). Decorative: it keeps its rehydration level but doesn't rehydrate or hatch a ghastling, since it can't be waterlogged yet and there are no ghast entities.

Constants ​

MAX_REHYDRATION_LEVEL ​

php
public const MAX_REHYDRATION_LEVEL = 3

Properties ​

$rehydrationLevel protected ​

php
protected int $rehydrationLevel

Methods ​

describeBlockOnlyState() protected ​

php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getRehydrationLevel() ​

php
public function getRehydrationLevel() : int

getSupportType() ​

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

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

setRehydrationLevel() ​

php
public function setRehydrationLevel(int $level) : self

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