Skip to content

BaseCoral ​

abstract class · pocketmine\block\BaseCoral · source

Extends Transparent
Implements CoralMaterial

Methods ​

getDropsForCompatibleTool() ​

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

getSupportType() ​

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

isAffectedBySilkTouch() ​

php
public function isAffectedBySilkTouch() : bool

isCoveredWithWater() protected ​

php
protected function isCoveredWithWater() : bool

isSolid() ​

php
public function isSolid() : bool

onNearbyBlockChange() ​

php
public function onNearbyBlockChange() : void

onScheduledUpdate() ​

php
public function onScheduledUpdate() : void

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.