This article is about values from
Minecraft: Java Edition since Java Edition 1.13. For values until Java Edition 1.12.2, see
/Pre-flattening. For values from Classic, see
/Classic. For values from Indev, see
/Indev.
These data values refer to the different types of blocks, items and other features on Java Edition and are used in many places in Minecraft. Block IDs are used to define blocks placed in the world. Item IDs are valid only for items (including items in chests and items dropped in the world). All block IDs that do not have a gray background in this page are also valid item IDs. There are also entity IDs for entities such as mobs and projectiles.
These IDs are in the namespaced ID format, with their minecraft
namespace omitted. The game accepts these Namespaced IDs either with or without the minecraft:
prefix.
Enchantments[edit]
Dimensions[edit]
Chunk generators[edit]
Used in the Buffet world type and internally when generating any world.
Biome sources[edit]
Used in the Buffet world type and internally when generating any world.
Namespaced ID
|
Image
|
fixed
|
|
checkerboard
|
|
vanilla_layered
|
|
the_end
|
|
multi_noise
|
|
Structures[edit]
Block states[edit]
Tracks the age of plants to handle growth and of fire to handle spread.
State value
|
Blocks
|
Integer (0 to 1 )
|
Bamboo
|
Integer (0 to 2 )
|
Cocoa
|
Integer (0 to 3 )
|
|
Integer (0 to 5 )
|
Chorus Flower
|
Integer (0 to 7 )
|
|
Integer (0 to 15 )
|
|
Integer (0 to 25 )
|
Kelp
|
attached[edit]
Whether the tripwire hook is connected to a valid tripwire circuit or not.
State value
|
Blocks
|
Boolean (false or true )
|
|
attachment[edit]
How this block is attached to the block it is on.
State value
|
Blocks
|
ceiling
double_wall
floor
single_wall
|
Bell
|
What axis the block is oriented to.
The number of bites taken from the cake.
State value
|
Blocks
|
Integer (0 to 6 )
|
Cake
|
Whether this scaffolding is floating (shows the bottom).
charges[edit]
Tracks the remaining uses of respawn anchors.
conditional[edit]
Whether or not the command block is conditional.
State value
|
Blocks
|
Boolean (false or true )
|
Command Block (any variant)
|
The amount of time between receiving a signal and responding.
disarmed[edit]
Whether the tripwire is broken using shears or not.
State value
|
Blocks
|
Boolean (false or true )
|
Tripwire
|
distance[edit]
The distance from a base block.
Determines whether something is below the block.
State value
|
Blocks
|
Boolean (false or true )
|
|
Determine whether the bubble column is a whirlpool or upwards.
Determines whether something is on the east side of the block.
The amount of eggs in this block.
enabled[edit]
Whether or not the hopper can collect and transfer items.
State value
|
Blocks
|
Boolean (false or true )
|
Hopper
|
extended[edit]
Whether or not the piston is extended.
State value
|
Blocks
|
Boolean (false or true )
|
|
Whether the frame contains an eye of ender.
What side of a block the attached block is on.
For most blocks, what direction the block faces.
For wall-attached bells as well as cocoa, the opposite is true.[1]
State value
|
Blocks
|
down
east
north
south
west
up
|
|
|
|
down
east
north
south
west
|
Hopper
|
For tall plants and doors, which half of the door or plant occupies the block space. For trapdoors and stairs, what part of the block space they are in.
hanging[edit]
Whether or not the lantern hangs on the ceiling.
State value
|
Blocks
|
Boolean (false or true )
|
Lantern
|
has_book[edit]
Whether or not this lectern holds a book.
State value
|
Blocks
|
Boolean (false or true )
|
Lectern
|
has_bottle_0[edit]
Whether or not a bottle is in slot 1 of the brewing stand.
has_bottle_1[edit]
Whether or not a bottle is in slot 2 of the brewing stand.
has_bottle_2[edit]
Whether or not a bottle is in slot 3 of the brewing stand.
has_record[edit]
True when the jukebox contains a music disc.
State value
|
Blocks
|
Boolean (false or true )
|
Jukebox
|
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
Identifies the side the hinge is on (when facing the same direction as the door's inside).
State value
|
Blocks
|
|
Door (any)
|
in_wall[edit]
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
State value
|
Blocks
|
Boolean (false or true )
|
Fence Gate (any)
|
instrument[edit]
The instrument sound the note block makes when it gets powered or used.
State value
|
Blocks
|
banjo
basedrum
bass
bell
bit
chime
cow_bell
digeridoo
flute
guitar
harp
hat
iron_xylophone
snare
xylophone
|
Note Block
|
inverted[edit]
Whether the daylight detector detects light (false) or darkness (true).
How many layers of snow are on top of each other.
State value
|
Blocks
|
Integer (1 to 8 )
|
Snow
|
How big the leaves are on this bamboo.
How much water or lava is in this block or cauldron.
State value
|
Blocks
|
Integer (0 to 3 )
|
Cauldron
|
Integer (0 to 8 )
|
Composter
|
Integer (0 to 15 )
|
|
Whether the block is turned on or off.
State value
|
Blocks
|
Boolean (false or true )
|
|
Whether the repeater can change it is powered state (false) or not (true).
The mode the comparator or structure block is in.
moisture[edit]
How wet the farmland is.
State value
|
Blocks
|
Integer (0 to 7 )
|
Farmland
|
Determines whether something is on the north side of the block.
The note the note block plays when it gets powered.
occupied[edit]
If there's already a player in this bed.
State value
|
Blocks
|
Boolean (false or true )
|
Bed (any)
|
Whether the door is open or closed.
State value
|
Blocks
|
Boolean (false or true )
|
|
orientation[edit]
Direction the arrows point, followed by the position of the line face.
State value
|
Blocks
|
down_east
down_north
down_south
down_west
east_up
north_up
south_up
up_east
up_north
up_south
up_west
west_up
|
Jigsaw Block
|
Whether this is the foot or head end of the bed.
State value
|
Blocks
|
|
Bed (any)
|
persistent[edit]
Whether leaves decay (false) or not (true)
State value
|
Blocks
|
Boolean (false or true )
|
Leaves (any)
|
pickles[edit]
The amount of pickles in this block.
The power level of Redstone emission.
State value
|
Blocks
|
Integer (0 to 15 )
|
|
powered[edit]
Whether the block is powered.
State value
|
Blocks
|
Boolean (false or true )
|
|
rotation[edit]
The rotation of standing heads, signs and banners.
State value
|
Blocks
|
Integer (0 to 15 )
|
|
The way this block connects to its neighbors.
State value
|
Blocks
|
ascending_east
ascending_north
ascending_south
ascending_west
east_west
north_south
|
|
inner_left
inner_right
outer_left
outer_right
straight
|
Stairs (any)
|
ascending_east
ascending_north
ascending_south
ascending_west
east_west
north_south
north_east
north_west
south_east
south_west
|
Rail
|
Whether this piston head's arm is 4/16th of a block shorter
signal_fire[edit]
Whether this campfire has higher smoke or not.
State value
|
Blocks
|
Boolean (false or true )
|
|
Whether this block uses the snowy side texture.
State value
|
Blocks
|
Boolean (false or true )
|
|
Determines whether something is on the south side of the block.
Whether this sapling is ready to grow.
State value
|
Blocks
|
Integer (0 to 1 )
|
|
triggered[edit]
Whether this block has been activated.
State value
|
Blocks
|
Boolean (false or true )
|
|
Determines the variant of this block.
State value
|
Blocks
|
|
|
|
|
|
Slab (any)
|
unstable[edit]
Whether the TNT explodes when punched or not.
State value
|
Blocks
|
Boolean (false or true )
|
TNT
|
Determines whether something is above the block.
State value
|
Blocks
|
Boolean (false or true )
|
|
waterlogged[edit]
Whether the block has water in it.
State value
|
Blocks
|
Boolean (false or true )
|
|
Determines whether something is on the west side of the block.
Protocol and data versions
Java Edition
|
Versions
|
|
Development
|
|
Technical
|
|
Multiplayer
|
|
Game customization
|
|