Minecraft:Rule-based block state provider
From SAS Gaming Wiki
More actions
Template:Merge A Rule-based block state provider provides a Minecraft:block and Minecraft:block state depending on the block that currently exists in the world using a series of rules (i.e. Minecraft:block predicates) to be placed by Minecraft:configured features.
JSON format
Rule-based block state providers are defines using the following format:
<section begin="json format" />
- Template:Nbt A rule-based block state provider
- Template:Nbt The block to use when no rules' predicates match. This field is optional. If unspecified and no rules' predicates match, then no block is placed.
- Template:Nbt (Required, but can be empty) Rules of the block to use.
- Template:Nbt One rule.
- Template:Nbt The Minecraft:block predicate of this rule.
- Template:Nbt The block to use when the predicate is passed.
- Template:Nbt inherit/block state provider<section end="json format" />
- Template:Nbt One rule.