Data values


Info

These data values refer to the different types of blocks and items. They are used in many, many places in Minecraft. Block IDs are used to define blocks placed in the world and inventory items (including items in chests and items dropped in the world). Item IDs are only valid for items. There are also Entity IDs Internal ID (Dec/Hex) Network ID (Dec/Hex) Icon Entity Savegame ID Drops 1 1 2 2 Dropped item item 2 2 - - Experience orb xp_orb Immobile 3 3 3 3 Area effect cloud area_effect_cloud 8 minecraft for entities such as mobs and projectiles. Block data further defines blocks placed, describing for example the height of water or the direction a torch points.

IDs

I Has a different ID as an inventory item.
D Item durability is a property that affects all tools, weapons and armor, as well as certain other usable items. It represents the number of useful actions an item can perform and depletes upon item use. Use the item`s Damage field to define its durability.
S Requires additional data from the saved game`s Data array to fully define the block.
B Requires additional data in the item`s Damage field to fully define the inventory item.
E Requires a block entity to store additional data.
Red Cannot be legitimately obtained. Only available using the /give command or via inventory editors.
Light Blue Cannot be obtained no matter what.(Some can be placed using /setblock)
Blue Available in Creative Pixel art and other creations made in Creative mode. "Sandbox" redirects here. For a place to test edits to this wiki, see Minecraft Wiki:Sandbox. Creative mode is one of the main game modes in Minecraft. minecraft mode by item list.
Purple Available in Creative Pixel art and other creations made in Creative mode. "Sandbox" redirects here. For a place to test edits to this wiki, see Minecraft Wiki:Sandbox. Creative mode is one of the main game modes in Minecraft. minecraft mode by block picking.
Teal Can be obtained by trading with villagers or in Creative Pixel art and other creations made in Creative mode. "Sandbox" redirects here. For a place to test edits to this wiki, see Minecraft Wiki:Sandbox. Creative mode is one of the main game modes in Minecraft. minecraft mode.
Green Only available by having Enchanted "Flame" redirects here. For the non-solid damage-dealing block, see Fire. “ How does enchanting work in Minecraft? Well, you open a magical book and pick a random spell, not quite sure knowing what it will minecraft tools or in Creative Pixel art and other creations made in Creative mode. "Sandbox" redirects here. For a place to test edits to this wiki, see Minecraft Wiki:Sandbox. Creative mode is one of the main game modes in Minecraft. minecraft mode.
Lime Green Only available by having Enchanted "Flame" redirects here. For the non-solid damage-dealing block, see Fire. “ How does enchanting work in Minecraft? Well, you open a magical book and pick a random spell, not quite sure knowing what it will minecraft tools or via use of /give or inventory editors, but unobtainable in the Creative Pixel art and other creations made in Creative mode. "Sandbox" redirects here. For a place to test edits to this wiki, see Minecraft Wiki:Sandbox. Creative mode is one of the main game modes in Minecraft. minecraft mode menu.
Gray Unused data.

Videos

Block IDs

edit

Item IDs

edit

Entity IDs

edit

Horse Variants

Horse entities have variant fields that determine the markings on the horse. Below is a list of Variant values that determine the variant of horses.

White Creamy Chestnut Brown Black Gray Dark Brown
None 0 1 2 3 4 5 6
White 256 257 258 259 260 261 262
White Field 512 513 514 515 516 517 518
White Dots 768 769 770 771 772 773 774
Black Dots 1024 1025 1026 1027 1028 1029 1030

Variant names taken from the names of the texture file they correspond to.

Summoning a horse entity without specifying the Variant value will result in a white horse.

Using a Variant value that is not a true ID (all true IDs are displayed on the chart above) will result in an invisible horse.

Biome IDs

Each type of biome has its own biome number, shown in the following table. These biome numbers are used when creating a customized superflat world. Main biomes have an ID number from 0 to 39, while biome variations normally have an ID number of 128 + . Two biomes, FrozenOcean (10) and Extreme Hills Edge (20) are no longer naturally generated.

Biome Color /
Variation Color
Variation
ID Name ID Name ID Name ID Name
0 Ocean minecraft:ocean 000070 N/A N/A N/A
1 Plains minecraft:plains 8DB360 B5DB88 129 Sunflower Plains minecraft:mutated_plains
2 Desert minecraft:desert FA9418 FFBC40 130 Desert M minecraft:mutated_desert
3 Extreme Hills minecraft:extreme_hills 606060 888888 131 Extreme Hills M minecraft:mutated_extreme_hills
4 Forest minecraft:forest 056621 6A7425 132 Flower Forest minecraft:mutated_forest
5 Taiga minecraft:taiga 0B6659 596651 133 Taiga M minecraft:mutated_taiga
6 Swampland minecraft:swampland 07F9B2 2FFFDA 134 Swampland M minecraft:mutated_swampland
7 River minecraft:river 0000FF N/A N/A N/A
8 Hell minecraft:hell FF0000 N/A N/A N/A
9 The End minecraft:sky 8080FF N/A N/A N/A
(10) FrozenOcean minecraft:frozen_ocean 9090A0 N/A N/A N/A
11 FrozenRiver minecraft:frozen_river A0A0FF N/A N/A N/A
12 Ice Plains minecraft:ice_flats FFFFFF B4DCDC 140 Ice Plains Spikes minecraft:mutated_ice_flats
13 Ice Mountains minecraft:ice_mountains A0A0A0 N/A N/A N/A
14 MushroomIsland minecraft:mushroom_island FF00FF N/A N/A N/A
15 MushroomIslandShore minecraft:mushroom_island_shore A000FF N/A N/A N/A
16 Beach minecraft:beaches FADE55 N/A N/A N/A
17 DesertHills minecraft:desert_hills D25F12 N/A N/A N/A
18 ForestHills minecraft:forest_hills 22551C N/A N/A N/A
19 TaigaHills minecraft:taiga_hills 163933 N/A N/A N/A
(20) Extreme Hills Edge minecraft:smaller_extreme_hills 72789A N/A N/A N/A
21 Jungle minecraft:jungle 537B09 7BA331 149 Jungle M minecraft:mutated_jungle
22 JungleHills minecraft:jungle_hills 2C4205 N/A N/A N/A
23 JungleEdge minecraft:jungle_edge 628B17 8AB33F 151 JungleEdge M minecraft:mutated_jungle_edge
24 Deep Ocean minecraft:deep_ocean 000030 N/A N/A N/A
25 Stone Beach minecraft:stone_beach A2A284 N/A N/A N/A
26 Cold Beach minecraft:cold_beach FAF0C0 N/A N/A N/A
27 Birch Forest minecraft:birch_forest 307444 589C6C 155 Birch Forest M minecraft:mutated_birch_forest
28 Birch Forest Hills minecraft:birch_forest_hills 1F5F32 47875A 156 Birch Forest Hills M minecraft:mutated_birch_forest_hills
29 Roofed Forest minecraft:roofed_forest 40511A 687942 157 Roofed Forest M minecraft:mutated_roofed_forest
30 Cold Taiga minecraft:taiga_cold 31554A 597D72 158 Cold Taiga M minecraft:mutated_taiga_cold
31 Cold Taiga Hills minecraft:taiga_cold_hills 243F36 N/A N/A N/A
32 Mega Taiga minecraft:redwood_taiga 596651 6B5F4C 160 Mega Spruce Taiga minecraft:mutated_redwood_taiga
33 Mega Taiga Hills minecraft:redwood_taiga_hills 545F3E 6D7766 161 Redwood Taiga Hills M minecraft:mutated_redwood_taiga_hills
34 Extreme Hills+ minecraft:extreme_hills_with_trees 507050 789878 162 Extreme Hills+ M minecraft:mutated_extreme_hills_with_trees
35 Savanna minecraft:savanna BDB25F E5DA87 163 Savanna M minecraft:mutated_savanna
36 Savanna Plateau minecraft:savanna_rock A79D64 CFC58C 164 Savanna Plateau M minecraft:mutated_savanna_rock
37 Mesa minecraft:mesa D94515 FF6D3D 165 Mesa (Bryce) minecraft:mutated_mesa
38 Mesa Plateau F minecraft:mesa_rock B09765 D8BF8D 166 Mesa Plateau F M minecraft:mutated_mesa_rock
39 Mesa Plateau minecraft:mesa_clear_rock CA8C65 F2B48D 167 Mesa Plateau M minecraft:mutated_mesa_clear_rock
127 The Void minecraft:void N/A N/A N/A N/A

Enchantment IDs

Used in commands such as /enchant, /give and /replaceitem.

Enchantment Name ID (PC) ID (PE)
Protection protection 0 0
Fire Protection fire_protection 1 1
Feather Falling feather_falling 2 2
Blast Protection blast_protection 3 3
Projectile Protection projectile_protection 4 4
Respiration respiration 5 6
Aqua Affinity aqua_affinity 6 8
Thorns thorns 7 5
Depth Strider depth_strider 8 7
Frost Walker frost_walker 9 25
Curse of Binding binding_curse 10 N/A
Sharpness sharpness 16 9
Smite smite 17 10
Bane of Arthropods bane_of_arthropods 18 11
Knockback knockback 19 12
Fire Aspect fire_aspect 20 13
Looting looting 21 14
Sweeping Edge sweeping 22 N/A
Efficiency efficiency 32 15
Silk Touch silk_touch 33 16
Unbreaking PC: unbreaking
PE: durability
34 17
Fortune fortune 35 18
Power power 48 19
Punch punch 49 20
Flame flame 50 21
Infinity infinity 51 22
Luck of the Sea luck_of_the_sea 61 23
Lure lure 62 24
Mending mending 70 26
Curse of Vanishing vanishing_curse 71 N/A

Status effects

Used in /effect command.

Icon Value Name Effect type In source code Particle color

1 minecraft:speed Speed potion.moveSpeed
#7CAFC6

2 minecraft:slowness Slowness potion.moveSlowdown
#5A6C81

3 minecraft:haste Haste potion.digSpeed
#D9C043

4 minecraft:mining_fatigue Mining Fatigue potion.digSlowDown
#4A4217

5 minecraft:strength Strength potion.damageBoost
#932423
6 minecraft:instant_health Instant Health potion.heal
#F82423
7 minecraft:instant_damage Instant Damage potion.harm
#430A09

8 minecraft:jump_boost Jump Boost potion.jump
#786297

9 minecraft:nausea Nausea potion.confusion
#551D4A

10 minecraft:regeneration Regeneration potion.regeneration
#CD5CAB

11 minecraft:resistance Resistance potion.resistance
#99453A

12 minecraft:fire_resistance Fire Resistance potion.fireResistance
#E49A3A

13 minecraft:water_breathing Water Breathing potion.waterBreathing
#2E5299

14 minecraft:invisibility Invisibility potion.invisibility
#7F8392

15 minecraft:blindness Blindness potion.blindness
#1F1F23

16 minecraft:night_vision Night vision potion.nightVision
#1F1FA1

17 minecraft:hunger Hunger potion.hunger
#587653

18 minecraft:weakness Weakness potion.weakness
#484D48

19 minecraft:poison Poison potion.poison
#4E9331

20 minecraft:wither Wither potion.wither
#352A27

21 minecraft:health_boost Health Boost potion.healthBoost
#F87D23

22 minecraft:absorption Absorption potion.absorption
#2552A5
23 minecraft:saturation Saturation potion.saturation
#F82423

24 minecraft:glowing Glowing potion.glowing
#94A061

25 minecraft:levitation Levitation potion.levitation
#CEFFFF

26 minecraft:luck Luck potion.luck
#339900

27 minecraft:unluck Bad Luck potion.unluck
#C0A44D

Data

Up to 4 bits of special data are used for certain block and item types. Blocks that need more than 4 bits of data beyond the block ID use a block entity A block entity (previously named tile entity) is extra data associated with a block, beyond the block ID and 4 extra bits of data that every block has. Usage edit | edit source] Block entities or are split into two blocks. Storage differs according to level format.

Block dec hex Use
Wood 0-15 0-F Wood Texture/Rotation
Fire 0-15 0-F Age in ticks (1/20th of a second)
Leaves 0-15 0-F Leaves texture, decay counter
Jukebox 0-1 0-1 Disc in jukebox or not
Saplings 0-15 0-F Age / Tree Type
Cactus 0-15 0-F Age
Sugar Cane 0-15 0-F Age
Water and Lava 0-15 0-F Fluid level
Sand 0-1 0-1 Color of sand
Soil/Farmland 0-8 0-8 Wetness
Crops 0-7 0-7 Crop size
Nether Wart 0-3 0-3 Nether Wart Size
Pumpkin and melon stem 0-7 0-7 Growth stage
Wool, Stained Clay, Stained Glass and Carpet 0-15 0-F Color
Dyes 0-15 0-F Dye Color
Fish 0-3 0-3 Type of fish
Command block 0-1 0-1 Commands
Torches and Redstone Torches 0-5 0-5 Torch orientation
Rails (reg, powered, detect) 0-9 0-9 Rail slope, orientation, power
Stairs 0-7 0-7 Stair orientation
Levers 0-15 0-F Lever orientation and thrown state
Door 0-15 0-F Hinge corner position and swing state
Buttons 0-15 0-F Button orientation, whether it`s pressed
Sign Posts 0-15 0-F Sign orientation
Ladders, Wall Signs, Furnaces, Chests 2-5 2-5 Orientation
Dispensers, Droppers, and Hoppers 0-15 0-F Orientation
Pumpkins and Jack-O-Lanterns 0-3 0-3 Pumpkin orientation