Skip to content

Mud 5.47.0 ​

class · pocketmine\block\Mud · source

Extends Opaque

Mud: entities sink 2 pixels into it (14/16 high collision box, Java MudBlock.SHAPE), but it is still a full block for support, light, occlusion and redstone.

Methods ​

isFullCube() ​

php
public function isFullCube() : bool

The lower collision box is only felt by entities: everything else (redstone conduction, vines, spawn search, pathfinding) still treats mud as a full cube.

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.