Wiki
Clone wikiLoot Overhaul / Loot Conditions - Block State
Loot Conditions - Block State
Structure:
Property | Type | Description |
---|---|---|
meta | Float, Float Range, or Float List | The metadata of the block. (Optional, must have this or state) |
state | Object | The state of the block, as a json object. (Optional, must have this or meta) |
Description:
Will pass if the state of the block broken or looted from matches the metadata or state given.
A metadata of 1
"conditions": [ { "condition": "lootoverhaul:block_state", "meta": 1 } ]
Or a metadata of at least 4
"conditions": [ { "condition": "lootoverhaul:block_state", "meta": { "min": 4 } } ]
Or a list of metadata
"conditions": [ { "condition": "lootoverhaul:block_state", "meta": [ 0, 5 ] } ]
Or facing upwards
"conditions": [ { "condition": "lootoverhaul:block_state", "state": { "facing": "up" } } ]
Or any purple or pink block (wool, terracotta, concrete, etc.)
"conditions": [ { "condition": "lootoverhaul:block_state", "state": { "color": [ "purple", "pink" ] } } ]
Previous - Biome Type | Back | Next - Command |
Updated