Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Block state provider: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
Line 126: Line 126:
***** {{nbt inherit/block_state}}
***** {{nbt inherit/block_state}}
**** {{nbt|int|weight}}: The weight of this entry.
**** {{nbt|int|weight}}: The weight of this entry.
</div>
</div>'''Also see Rule_based_state_provider'''
 
<nowiki>https://minecraft.wiki/w/Rule-based_block_state_provider</nowiki>


== History ==
== History ==

Revision as of 11:24, 11 August 2026

Template:Exclusive A block state provider is used to provide a (potentially randomized) Minecraft:block and Minecraft:block state to be placed by Minecraft:configured features.

JSON format

Block state providers are defined using the following format:

Types

The following block state provider types exist.

copy_properties_provider

Copies common block state properties from the block at the evaluated position to the resulting state.Template:Upcoming

  • Template:Nbt: A block state provider
    • Template:Nbt: copy_properties_provider
    • Template:Nbt: Provides the block state which the copied properties are copied on top of. Only properties common between both the source and the target blocks will be copied.

dual_noise_provider

Randomly chooses a block state according to two noise values.

noise_provider

Randomly chooses a block state according to a noise value.

noise_threshold_provider

Uses different block states when a noise value above or below the threshold.

simple_state_provider

Specifies a single block state directly

random_block_provider

Returns the default block state for a randomly chosen block.Template:Upcoming

randomized_int_state_provider

Assigns a random value to an integer block property.

rotated_block_provider

Randomly rotates axially-rotated blocksTemplate:Until / any block with Template:Cd or Template:Cd properties.Template:Upcoming

weighted_state_provider

Chooses a block state from a weighted list.

Also see Rule_based_state_provider

https://minecraft.wiki/w/Rule-based_block_state_provider

History

Template:Info needed section Template:HistoryTable

Navigation

Template:Navbox Java Edition technical

Minecraft:fr:Génération du monde personnalisée/Fournisseur d'état de bloc Minecraft:ja:ワールド生成のカスタマイズ/block state provider Minecraft:ko:블록 상태 제공자 Minecraft:pt:Geração de mundo personalizado/provedor de estado de bloco Minecraft:ru:Натуральные декорации/Провайдер состояний блока Minecraft:uk:Постачальник стану блока Minecraft:zh:编码格式/Worldgen#方块状态提供器