Wiki ArticlePending mergeMissing discussion link for mergeData packs

Rule-based block state provider

A Rule-based block state provider provides a block and block state depending on the block that currently exists in the world using a series of rules (i.e. block predicates) to be placed by configured features.

Rule-based block state providers are defines using the following format:

It has been suggested that this page be merged with block state provider.
 [discuss]
If this merge affects many pages or may potentially be controversial, do not merge the page until a consensus is reached.
Reason: since 26.1-snapshot-11, it has been changed to block state provider type, not a separate data type.

A Rule-based block state provider provides a block and block state depending on the block that currently exists in the world using a series of rules (i.e. block predicates) to be placed by configured features.

JSON format

Rule-based block state providers are defines using the following format:

  • [NBT Compound / JSON Object] A rule-based block state provider