Skip to content

BlockSelector 5.46.0 ​

interface · pocketmine\world\generator\vanilla\structure\piece\BlockSelector · source

StructurePiece.BlockSelector: picks the block of each position of a box (stronghold stone bricks, jungle temple moss stone, ...).

Methods ​

next() ​

php
public function next(\pocketmine\world\generator\vanilla\structure\StructurePlaceContext $c, \pocketmine\world\generator\vanilla\feature\FeatureRandom $random, int $x, int $y, int $z, bool $isEdge) : int

Returns the Java state to place at the piece-local position.

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