Data Values refer to the different types of blocks, items, and other features in Minecraft and are used in many places. 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). Most blocks also have valid item IDs, unless otherwise noted. Entity IDs are used for entities such as mobs and projectiles.
Key[]
c | Requires additional data to define color |
B | Requires additional data to define a property |
IDs[]
The following IDs are included with their minecraft
namespace, although the game accepts these IDs with or without the minecraft:
prefix.
Blocks and Items[]
The following table is a list of every block and item ID in the Java Edition of Minecraft.
Number | Block/Item | Name ID | |
---|---|---|---|
0 | Air | minecraft:air
| |
1 | Stone | minecraft:stone
| |
1:1 | Granite | minecraft:stone
| |
1:2 | Polished Granite | minecraft:stone
| |
1:3 | Diorite | minecraft:stone
| |
1:4 | Polished Diorite | minecraft:stone
| |
1:5 | Andesite | minecraft:stone
| |
1:6 | Polished Andesite | minecraft:stone
| |
2 | Grass | minecraft:grass
| |
3 | Dirt | minecraft:dirt
| |
3:1 | Coarse Dirt | minecraft:dirt
| |
3:2 | Podzol | minecraft:dirt
| |
4 | Cobblestone | minecraft:cobblestone
| |
5 | Oak Wood Plank | minecraft:planks
| |
5:1 | Spruce Wood Plank | minecraft:planks
| |
5:2 | Birch Wood Plank | minecraft:planks
| |
5:3 | Jungle Wood Plank | minecraft:planks
| |
5:4 | Acacia Wood Plank | minecraft:planks
| |
5:5 | Dark Oak Wood Plank | minecraft:planks
| |
6 | Oak Sapling | minecraft:sapling
| |
6:1 | Spruce Sapling | minecraft:sapling
| |
6:2 | Birch Sapling | minecraft:sapling
| |
6:3 | Jungle Sapling | minecraft:sapling
| |
6:4 | Acacia Sapling | minecraft:sapling
| |
6:5 | Dark Oak Sapling | minecraft:sapling
| |
7 | Bedrock | minecraft:bedrock
| |
8 | Flowing Water | minecraft:flowing_water
| |
9 | Still Water | minecraft:water
| |
10 | Flowing Lava | minecraft:flowing_lava
| |
11 | Still Lava | minecraft:lava
| |
12 | Sand | minecraft:sand
| |
12:1 | Red Sand | minecraft:sand
| |
13 | Gravel | minecraft:gravel
| |
14 | Gold Ore | minecraft:gold_ore
| |
15 | Iron Ore | minecraft:iron_ore
| |
16 | Coal Ore | minecraft:coal_ore
| |
17 | Oak Wood | minecraft:log
| |
17:1 | Spruce Wood | minecraft:log
| |
17:2 | Birch Wood | minecraft:log
| |
17:3 | Jungle Wood | minecraft:log
| |
18 | Oak Leaves | minecraft:leaves
| |
18:1 | Spruce Leaves | minecraft:leaves
| |
18:2 | Birch Leaves | minecraft:leaves
| |
18:3 | Jungle Leaves | minecraft:leaves
| |
19 | Sponge | minecraft:sponge
| |
19:1 | Wet Sponge | minecraft:sponge
| |
20 | Glass | minecraft:glass
| |
21 | Lapis Lazuli Ore | minecraft:lapis_ore
| |
22 | Lapis Lazuli Block | minecraft:lapis_block
| |
23 | Dispenser | minecraft:dispenser
| |
24 | Sandstone | minecraft:sandstone
| |
24:1 | Chiseled Sandstone | minecraft:sandstone
| |
24:2 | Smooth Sandstone | minecraft:sandstone
| |
25 | Note Block | minecraft:noteblock
| |
26 | Bed | minecraft:bed
| |
27 | Powered Rail | minecraft:golden_rail
| |
28 | Detector Rail | minecraft:detector_rail
| |
29 | Sticky Piston | minecraft:sticky_piston
| |
30 | Cobweb | minecraft:web
| |
31 | Dead Bush | minecraft:tallgrass
| |
31:1 | Grass | minecraft:tallgrass
| |
31:2 | Fern | minecraft:tallgrass
| |
32 | Dead Bush | minecraft:deadbush
| |
33 | Piston | minecraft:piston
| |
34 | Piston Head | minecraft:piston_head
| |
35 | Wool | minecraft:wool
| |
37 | Dandelion | minecraft:yellow_flower
| |
38 | Poppy | minecraft:red_flower
| |
39 | Brown Mushroom | minecraft:brown_mushroom
| |
40 | Red Mushroom | minecraft:red_mushroom
| |
41 | Block of Gold | minecraft:gold_block
| |
42 | Block of Iron | minecraft:iron_block
| |
43 | Double Stone Slab | minecraft:double_stone_slab
| |
44 | Stone Slab | minecraft:stone_slab
| |
45 | Bricks | minecraft:brick_block
| |
46 | TNT | minecraft:tnt
| |
47 | Bookshelf | minecraft:bookshelf
| |
48 | Moss Stone | minecraft:mossy_cobblestone
| |
49 | Obsidian | minecraft:obsidian
| |
50 | Torch | minecraft:torch
| |
51 | Fire | minecraft:fire
| |
52 | Mob Spawner | minecraft:mob_spawner
| |
53 | Oak Wood Stairs | minecraft:oak_stairs
| |
54 | Chest | minecraft:chest
| |
55 | Redstone Wire | minecraft:redstone_wire
| |
56 | Diamond Ore | minecraft:diamond_ore
| |
57 | Block of Diamond | minecraft:diamond_block
| |
58 | Crafting Table | minecraft:crafting_table
| |
59 | WheatS | minecraft:wheat
| |
60 | Farmland | minecraft:farmland
| |
61 | Furnace | minecraft:furnace
| |
62 | Burning Furnace | minecraft:lit_furnace
| |
63 | Standing Sign | minecraft:standing sign
| |
64 | Oak Door | minecraft:wooden_door
| |
65 | Ladder | minecraft:ladder
| |
66 | Rail | minecraft:rail
| |
67 | Cobblestone Stairs | minecraft:stone_stairs
|
Mobs and Entities[]
Number | Mob/Entitie | Name ID | |
---|---|---|---|
1 | Dropped Item | minecraft:item
| |
2 | File:ExperiencePointNew.png | Experience Orb | minecraft:xp_orb
|
Fluids[]
Fluid | ID |
---|---|
Empty | empty
|
Flowing Lava | flowing_lava
|
Flowing Water | flowing_water
|
Lava | lava
|
Water | water
|
Block Data[]
The following information includes information about the certain data values that determine a block's color, growth (used for certain types of plants such as wheat), and to distinguish certain types of blocks that are grouped in the same group.
Colors[]
These values determine a block's color.
Decimal Data value | Hexadecimal Data value | Color |
---|---|---|
0 | 0 | White |
1 | 1 | Orange |
2 | 2 | Magenta |
3 | 3 | Light Blue |
4 | 4 | Yellow |
5 | 5 | Lime |
6 | 6 | Pink |
7 | 7 | Gray |
8 | 8 | Light Gray |
9 | 9 | Cyan |
10 | A | Purple |
11 | B | Blue |
12 | C | Brown |
13 | D | Green |
14 | E | Red |
15 | F | Black |
Crops[]
Crops use block data values 1-7 for crop growth, however, some only have 4 textures, but they have multiple values per texture.