Block states


Info

Block states are extra pieces of data that further define a block.

Videos

Anvil

Name Value Description

damage
0 Grid Anvil.png Anvil
1 Grid Slightly Damaged Anvil.png Slightly Damaged Anvil
2 Grid Very Damaged Anvil.png Very Damaged Anvil

facing
north
south
east
west
An anvil pointing north or south is aligned with its long dimension pointing north–south.
An anvil pointing east or west is aligned with its long dimension pointing east–west.
This value is 90₰ clockwise from the direction a player faces while placing an anvil.

Standing

Name Value Description

⃂rotation
0⃢₀ₔ15 The direction the block is facing:
  • 0: south
  • 1: south-southwest
  • 2: southwest
  • 3: west-southwest
  • 4: west
  • 5: west-northwest
  • 6: northwest
  • 7: north-northwest
  • 8: north
  • 9: north-northeast
  • 10: northeast
  • 11: east-northeast
  • 12: east
  • 13: east-southeast
  • 14: southeast
  • 15: south-southeast

Wall

Name Value Description

⃂facing
north
south
east
west
The direction the block is facing. For instance, a block facing east is attached to a block to its west.
Opposite from the direction a player faces when placing the block.

Bed

Name Value Description

facing
north
south
east
west
The direction the head of the bed is pointing.
The same direction the player faces when placing the bed.

occupied
true
false
True when a player is using the bed.

part
head
foot
The half of the bed in the current block.

Beetroot

Name Value Description

⃂age
0
1
2
3
Fully-grown.

Bone Block

Name Value Description

axis
x The bone block is oriented east–west.
y The bone block is oriented vertically.
z The bone block is oriented north–south.

Brewing Stand

Name Value Description

has_bottle_0
true
false
True when a bottle is in slot 1.

has_bottle_1
true
false
True when a bottle is in slot 2.

has_bottle_2
true
false
True when a bottle is in slot 3.

Button

minecraft:stone_button
minecraft:wooden_button
Name Value Description

⃂facing
north
south
east
west
up
down
The direction to the button, from the block it is attached to.
Opposite from the direction the player faces when placing a button.

⃂powered
true
false
True if the button is currently activated.

Cactus

Name Value Description

age
0–15 A freshly-planted cactus – and a cactus which has just grown cactus above it – each have an age of 0.
The age is incremented at random intervals.
At age 15, a cactus may try to grow more cactus above it.

Cake

Name Value Description

⃂bites
0⃢₀ₓ6 Number of bites taken from the cake.

Carpet

Name Value Description

⃂color
white
orange
magenta
light_blue
yellow
lime
pink
gray
silver
`silver` refers to Light Gray.
cyan
purple
blue
brown
green
red
black

Carrot

Name Value Description

age
0–1
2–3
4–6
7
Fully-grown.

Cauldron

Name Value Description

⃂level
0⃢₀ₓ3 Water level in a Cauldron, "0" being empty and "3" being full.

Chest, Ender Chest and Trapped Chest

Name Value Description

⃂facing
north
south
east
west
The direction the chest`s latch is on.
Opposite from the direction the player faces when placing a chest.

Chorus Flower

Name Value Description

⃂age
0⃢₀ₓ4
A freshly-planted chorus flower starts at age 0. The age is incremented when a chorus flower turns horizontally and/or generates additional chorus flowers on the same plant.
5
At age 5, the chorus flower will not grow anymore. A chorus flower can become age 5 at any time.

Chorus Plant

Name Value Description

north

south

east

west

up

down
true
false
When true, the plant extends out from the center of the plant-block in this direction.

Cobblestone Wall and Mossy Cobblestone Wall

Name Value Description

north

south

east

west

up
true
false
When true, the cobblestone wall extends from the center post in that direction.

variant
cobblestone
Cobblestone Wall
mossy_cobblestone
Mossy Cobblestone Wall

Cocoa

Name Value Description

age
0–2 The stage of the pod`s growth, with "2" being fully grown.

facing
north
south
east
west
The direction from the cocoa bean to the log.
The direction the player faces when placing the cocoa.

Command Block

Name Value Description

⃂conditional
true
false
True if the command block is in conditional mode.

⃂facing
north
south
east
west
up
down
The direction the command block is pointing.

Concrete

Name Value Description

⃂color
white
orange
magenta
light_blue
yellow
lime
pink
gray
silver
`silver` refers to Light Gray.
cyan
purple
blue
brown
green
red
black

Concrete Powder

Name Value Description

⃂color
white
orange
magenta
light_blue
yellow
lime
pink
gray
silver
`silver` refers to Light Gray.
cyan
purple
blue
brown
green
red
black

Daylight Sensor

minecraft:daylight_detector
minecraft:daylight_detector_inverted
Name Value Description

⃂power
0⃢₀ₓ15 The current redstone power level produced by the daylight sensor.

Dirt

Name Value Description

⃂snowy
true
false
If true, Podzol in particular uses a snowy side and top texture.
In-game, this is true when dirt has snow Snow Transparency No Luminance No Blast resistance 1 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Snowball (4) Data value dec: 80 hex: 50 bin: 1010000 Name snow See the full block. For the minecraft or snow (layer) Snow (layer) Transparency Yes Luminance No Blast resistance 0.5 Tool Renewable Yes Stackable Yes (64) Flammable No Drops Snowball (2–9) (one per level, plus one) Data value dec: 78 hex: 4E bin: 1001110 Name snow_layer Snow, or top minecraft on top.

⃂variant
dirt
Dirt
coarse_dirt
Coarse Dirt
podzol
Podzol

Dispenser

Name Value Description

⃂facing
north
south
east
west
up
down
The direction the dispenser will dispense its contents.
The opposite from the direction the player faces while placing the dispenser.

⃂triggered
true
false
True if the dispenser is activated.

Door

minecraft:wooden_door
minecraft:iron_door
minecraft:spruce_door
minecraft:birch_door
minecraft:jungle_door
minecraft:acacia_door
minecraft:dark_oak_door
Name Value Description

facing
north
south
east
west
The direction the door`s "inside" is facing.
The direction the player faces while placing the door.
For instance, a door facing east will occupy the west part of its block when closed.

half
upper
lower
Identifies which part of the door the block is.

hinge
left
right
Identifies the side the hinge is on (when facing the same direction as the door`s inside).

open
true
false
True if the door is currently open (may differ from powered).

powered
true
false
True if the door is currently activated (may differ from open).

Dropper

Name Value Description

⃂facing
north
south
east
west
up
down
The direction in which the dropper will drop items.
The opposite from the direction the player faces while placing the dropper.

⃂triggered
true
false
True when the dropper is activated.

End Portal Frame

Name Value Description

⃂eye
true
false
If true, the portal frame block contains an eye of ender Eye of Ender Type Items Durability N/A Renewable Yes Stackable Yes (64) Internal ID PC: 15 PE: 70 Network ID PC: 72 Entity ID eye_of_ender_signal First appearances See History Data value dec: 381 hex: 17D bin: 101111101 Name minecraft .

⃂facing
north
south
east
west
The direction of the end portal frame block.
The opposite from the direction the player faces while placing the block.
A naturally-generated portal frame will have all blocks `facing` inward,
for instance, the northern three blocks will all face south, and so on.
Only the block receiving the final eye of ender is required to be facing correctly; to activate the portal.

End Rod

Name Value Description

⃂facing
north
south
east
west
up
down
The direction to the end rod, from the block it is attached to; also the direction the white end points.
Opposite from the direction the player faces when placing an end rod, and opposite from the purple end.

Farmland

Name Value Description

⃂moisture
0⃢₀ₓ6
Not fully-hydrated.
7
Fully-hydrated.

Fence

minecraft:fence
minecraft:spruce_fence
minecraft:birch_fence
minecraft:jungle_fence
minecraft:acacia_fence
minecraft:dark_oak_fence
minecraft:nether_brick_fence
Name Value Description

north

south

east

west
true
false
When true, the fence extends from the center post in this direction.

Fence Gate

minecraft:fence_gate
minecraft:spruce_fence_gate
minecraft:birch_fence_gate
minecraft:jungle_fence_gate
minecraft:acacia_fence_gate
minecraft:dark_oak_fence_gate
Name