Rule-based block state provider

Minecraft Wiki article. Categories: Pending_merge, Missing_discussion_link_for_merge, Data_packs

📌 Mirrored from Minecraft Wiki

This article is reproduced from Rule-based block state provider on the Minecraft Wiki. Mirrored from revision 3652219. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

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

Sources