Skip to content

Block State (Data Type)

Pug edited this page Mar 14, 2023 · 4 revisions

An Object which depicts a BlockState.

For vanilla block types, you can view their block states here.

Schema

Field Type Default Description
Name Resource Location Defines the resource location of the block type of this block state.
Properties Object Defines the individual properties for this block state.

Examples

{
  "type": "bovinesandbuttercups:block_state",
  "state": {
    "Name": "minecraft:red_mushroom_block",
    "Properties": {
      "north": false
    }
  }
}

This example is a Red Mushroom Block with a false north property.

Clone this wiki locally