generated from jaredlll08/MultiLoader-Template
-
Notifications
You must be signed in to change notification settings - Fork 2
Block State (Block Condition Type)
Pug edited this page Mar 16, 2023
·
4 revisions
Tests to see if a block's state matches a specified block state.
Type Resource Location: bovinesandbuttercups:block_state
Introduced In: 1.3.0
Field | Type | Default | Description |
---|---|---|---|
state |
Block State | Defines the block state to be used in checks. |
"condition": {
"type": "bovinesandbuttercups:block_state",
"state": {
"Name": "minecraft:sunflower",
"Properties": {
"half": "upper"
}
}
}
This example checks if a block is an upper half of a Sunflower.