SpeleothemRules 5.46.0
Placement rules of pointed dripstone and sulfur spikes (Java's SpeleothemBlock).
Methods
isValidPlacement()
php
public static function isValidPlacement(\pocketmine\world\generator\vanilla\feature\FeatureLevel $level, \pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks, int $x, int $y, int $z, int $tipDirection, ?int $block = null) : boolSpeleothemBlock.isValidSpeleothemPlacement(): the block behind the tip is sturdy, or a speleothem of the same block pointing the same way.
isWithDirection()
php
public static function isWithDirection(\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks, int $state, int $direction) : boolWhether the state is a speleothem (pointed dripstone, sulfur spike) pointing in that direction (UP or DOWN).
