Skip to content

SequenceRule 5.46.0 ​

final class · pocketmine\world\generator\vanilla\surface\rule\SequenceRule · source

Extends MaterialRule

"minecraft:sequence": the first rule that gives a result.

Methods ​

__construct() ​

php
public function __construct(array $rules)

apply() ​

php
public function apply(\pocketmine\world\generator\vanilla\surface\MaterialContext $c) : int

compile() ​

php
public function compile(\pocketmine\world\generator\vanilla\surface\MaterialRuleCompiler $compiler) : string

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