Skip to content

Metadata

Pixel Brush edited this page Oct 26, 2024 · 7 revisions

This page serves as a reference for how certain blocks utilize their metadata/damage values. Please Check out the Minecraft Wiki for more Information.

Leaves

Some leaves seem to have the 4th Bit, the purpose of this has yet to be determined.

Meta Binary Tree
0 0000 Oak
1 0001 Spruce
2 0010 Birch
3 0011 -

Different Rotation Formats

Rotation in a Minecraft world is easily found out by looking at the sun. In versions prior to Release 1.0.0, the sun rose in the North and set in the South. This is the orientation that will be used on this page going forward.

Group Items
A Torch, Lever
B Stairs
C Bed
D Furnace
E Ladder, Wall Signs
F Piston, Sticky Piston
G Trapdoor
H Wooden Door, Iron Door
I Pumpkin, Lit Pumpkin
Group East West South North Up Down
A 1 2 3 4 5 -
B 0 1 2 3 - -
C 1 3 2 0 - -
D - -
E 5 4 3 2 - -
F 5 4 3 2 1 0
G 3 2 1 0 - -
H 0 2 1 3 - -
I 3 1 0 2 - -

Wall attached items, such as signs, ladders or torches will be classified based on the direction they face towards, aka the direction away from the block they're attached to.

Bed

A beds' direction is determined based on the direction the player faces when sleeping. If I had to guess, the 3rd bit is used for if the bed has a player in it or not, but I have not been able to test this. For all I know it goes unused.

Metadata Binary Orientation Part
0 0000 North Foot
1 0001 East Foot
2 0010 South Foot
3 0011 West Foot
4 0100 Foot
5 0101 Foot
6 0110 Foot
7 0111 Foot
8 1000 North Head
9 1001 East Head
10 1010 South Head
11 1011 West Head
12 1100 Head
13 1101 Head
14 1110 Head
15 1111 Head

Door

The 4th Bit is used to determine whether a door is open or closed. In this case, the facing direction is determined by where the thinner side goes when the door is closed

Metadata Binary Part State Facing
0 0000 Bottom Closed West
1 0001 Bottom Closed North
2 0010 Bottom Closed East
3 0011 Bottom Closed South
4 0100 Bottom Open West
5 0101 Bottom Open North
6 0110 Bottom Open East
7 0111 Bottom Open South
8 1000 Top Closed West
9 1001 Top Closed North
10 1010 Top Closed East
11 1011 Top Closed South
12 1100 Top Open West
13 1101 Top Open North
14 1110 Top Open East
15 1111 Top Open South

Flipped doors seem to also use the Open/Closed bit to determine their state, but in reverse.

Trapdoor

A trapdoors orientation is based on which side is facing outward from the wall it's attached to. The 4th Bit appears to go unused.

Metadata Binary State Facing
0 0000 Open North
1 0001 Open South
2 0010 Open West
3 0011 Open East
4 0100 Closed North
5 0101 Closed South
6 0110 Closed West
7 0111 Closed East
8 1000
9 1001
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
dw

Growth State for Plants

Saplings store their growth progress in their Metadata.

Water and Lava

Flowing Water and Lava only refers to liquids that need to be ticked. Still Water and Lava, even when visually flowing, are not ticked.

The Metadata for Liquids refers to how far away from the source it has flowed.

The 4th Bit is always set for vertically flowing liquids. These blocks maintain the above blocks' first 3 Bits

Metadata Binary Height State
0 0000 16/16 or 14/16 (if top-most liquid) Source
1 0001 14/16 Flowing Sideways
2 0010 12/16 Flowing Sideways
3 0011 10/16 Flowing Sideways
4 0100 8/16 Flowing Sideways
5 0101 6/16 Flowing Sideways
6 0110 4/16 Flowing Sideways
7 0111 2/16 Flowing Sideways
8-15 1xxxx 16/16 Flowing Downards
Clone this wiki locally