StoneDepthCondition 5.46.0
Extends MaterialCondition
"minecraft:stone_depth": the block is within a depth of the floor (solid blocks above it, up to air or fluid) or of the ceiling (solid blocks below it).
Methods
__construct()
php
public function __construct(int $offset, bool $addSurfaceDepth, int $secondaryDepthRange, bool $ceiling)compile()
php
public function compile(\pocketmine\world\generator\vanilla\surface\MaterialRuleCompiler $compiler) : stringtest()
php
public function test(\pocketmine\world\generator\vanilla\surface\MaterialContext $c) : bool