Skip to content

mcutils:slab

Vanilla slab block behavior.

Component

Options

NameTypeDefaultDescription
double_statestringmcutils:double

Examples

Slab

json
{
  "format_version": "1.21.100",
  "minecraft:block": {
    "description": {
      "identifier": "wiki:custom_slab",
      "traits": {
        "minecraft:placement_position": {
          "enabled_states": ["minecraft:vertical_half"]
        }
      },
      "states": {
        "mcutils:double": [false, true]
      }
    },
    "components": {
      "mcutils:slab": {
        "double_state": "mcutils:double"
      }
    }
  }
}

Not associated with or approved by Mojang Studios or Microsoft