Minecraft Wiki
Advertisement

These data values apply only to Minecraft Pocket Edition. For other versions of the game, see Data values and Data values (Classic)

Block IDs

Red Cannot be legitimately obtained. Only available by hex editing the "level.dat" file stored in the world save folder in a survival world (v0.2.0 and later).
Blue Can only be obtained in Creative mode.
Green Cannot be obtained in the Demo version.
D 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.
Icon Dec Hex Block Type
Stone 1 1 Stone
Grass 2 2 Grass
Dirt 3 3 Dirt
Cobblestone 4 4 Cobblestone
File:Wooden Plank.png 5 5 Wooden Plank
Sapling 6 6 Sapling D
Bedrock 7 7 Bedrock
Water 8 8 Flowing Water (having it in slot 2 makes the icon in slot one bugged but it will still place correctly)
Water 9 9 Stationary Water (also bugs other inventory icons)
Lava 10 A Flowing Lava (also bugs other inventory icons)
Lava 11 B Stationary Lava (also bugs other inventory icons)
Sand 12 C Sand
Gravel 13 D Gravel
File:Gold (Ore).png 14 E Gold Ore
File:Iron (Ore).png 15 F Iron Ore
File:Coal (Ore).png 16 10 Coal Ore
File:Wood.png 17 11 Wood
File:Leaves.png 18 12 Leaves
Glass 20 14 Glass
File:Lapis Lazuli (Ore).png 21 15 Lapis Lazuli Ore
File:Lapis Lazuli (Block).png 22 16 Lapis Lazuli Block
Sandstone 24 18 Sandstone
File:Bed.png 26 1A BedD
File:WebBlock.png 30 1E Cobweb
Tall Grass 31 1F Tall Grass
White Wool 35 23 Wool D B
Dandelion 37 25 Yellow Flower
File:Cyan Flower.png 38 26 Cyan Flower
Brown Mushroom 39 27 Brown Mushroom
Red Mushroom 40 28 Red Mushroom
File:Gold (Block).png 41 29 Gold Block
File:Iron (Block).png 42 2A Iron Block
File:Double Stone Slab.png 43 2B Double Stone SlabD (has the top texture on all sides in inventory but places as a normal double stone slab)
Stone Slab 44 2C Stone SlabD (use 44:1 to get Sandstone slabs)
File:Brick (Block).png 45 2D Brick Block
TNT 46 2E TNT
Bookshelf 47 2F Bookshelf
File:Moss Stone.png 48 30 Moss Stone
Obsidian 49 31 Obsidian
Torch 50 32 Torch
Fire 51 33 Fire (No longer spreads since 0.3.3, can be hex edited in to inventory)
File:Wooden Stairs.png 53 35 Wooden Stairs
Chest 54 36 Chest (The chest does not have a large chest texture yet, so you cannot place 2 together to make a large chest.)
File:Diamond (Ore).png 56 38 Diamond Ore
File:Diamond (Block).png 57 39 Diamond Block
Crafting Table 58 3A Crafting Table
Farmland 60 3C Farmland (works just like desktop edition, saturating when near water as well as drying out back to dirt when away from water or when walked on too much; water flows down the sides of it if placed in water in a manner similar to what glass does; PE's autojump does not appear to work when colliding with farmland)
Furnace 61 3D Furnace (inactive)
Furnace 62 3E Furnace (active, the furnace looks as if it is in use and flame particles show, even though it may have no items smelting in it)
File:Wooden Door.png 64 40 Wooden Door
File:Ladders.png 65 41 Ladder
Cobblestone Stairs 67 43 Cobblestone Stairs
Iron Door 71 47 Iron Door (will not open or close, presumably due to the lack of redstone powering it)
File:Redstone (Ore).png 73 49 Redstone Ore: and 4A (both seem to behave the same, giving off particle effects when struck but no light)
Snow 78 4E Snow (snow cover)
Ice 79 4F Ice (like desktop edition in pretty much every way; melts when near lava and turns to water source, slippery, etc.)
File:Snow (Block).png 80 50 Snow Block
Cactus 81 51 Cactus
File:Clay (Block).png 82 52 Clay
Sugar Cane 83 53 Sugar Cane
File:Fence.png 85 55 Fence
File:Glowstone (Block).png 89 59 Glowstone Block
95 5F Invisible Bedrock (The block that surrounds the maps. When placed it is possible to see through walls, but it can not be destroyed because of it's lack of a hitbox. When held, the item texture looks like that of a stone-like item)
File:Stone Brick.png 98 62 Stone Brick
File:Melon (Block).png 103 67 Melon
Glass Pane 102 66 Glass Pane
Fence Gate (Closed) 107 6B Fence Gate D
Glowing Obsidian 246 F6 Glowing Obsidian
Nether Reactor Core 247 F7 Nether Reactor Core
Update Game Any nonexistent value FFFFFFFFFFFFFFFF Update Game Block

Item IDs

All items have values above 255, making it easy to separate the Block IDs from the Item IDs.

The item IDs seem to correlate with item IDs from the desktop edition, based on experimentation by DanielMeltzer.[1] This list is based on a list of all item variables in the Item class. More experimentation is needed to confirm that these IDs do match.

Some invalid item IDs (for example, 3000, 3440, or 1938) results in a placeholder item that takes its texture ID from the damage value; more research is needed on this effect.

Icon Dec Hex Item
256 100 Iron Shovel
257 101 Iron Pickaxe
258 102 Iron Axe
261 105 Bow
262 106 Arrow
263 107 Coal
264 108 Diamond
265 109 Iron Ingot
266 10A Gold Ingot
267 10B Iron Sword
268 10C Wooden Sword
269 10D Wooden Shovel
270 10E Wooden Pickaxe
271 10F Wooden Axe
272 110 Stone Sword
273 111 Stone Shovel
274 112 Stone Pickaxe
275 113 Stone Axe
276 114 Diamond Sword
277 115 Diamond Shovel
278 116 Diamond Pickaxe
279 117 Diamond Axe
280 118 Stick
281 119 Bowl
283 11B Gold Sword
284 11C Gold Shovel
285 11D Gold Pickaxe
286 11E Gold Axe
287 11F String
Icon Dec Hex Item
288 120 Feather
289 121 Gunpowder
292 124 Flint
296 128 Wheat
323 143 Sign (placeable, but not functional)
324 144 Wooden door
330 14A Iron door
332 14C Snowball
334 14E Leather
336 150 Clay Brick
337 151 Clay
338 152 Sugar Cane
339 153 Paper
340 154 Book
341 155 Slimeball
344 158 Egg (occasionally spawns chickens)
345 159 Compass
347 15B Clock
348 15C Glowstone Dust
351 15F Dye D
352 160 Bone
353 161 Sugar
359 167 Shears
456 1C8 Camera

Entity IDs

These are entity IDs found in the getEntityTypeId methods of both the disassembled Android libminecraftpe.so and decrypted iOS minecraftpe binary files.

Icon Dec Hex Entity
Drops
64 40 Dropped item
Blocks
65 41 Primed TNT
Immobile and projectiles
80 50 Shot arrow
81 51 Thrown snowball
82 52 Thrown egg
83 53 Painting
Hostile mobs
36 24 Zombie Pigman
35 23 Spider
34 22 Skeleton
33 21 Creeper
32 20 Zombie
Passive mobs
10 A Chicken
11 B Cow
12 C Pig
13 D Sheep

References

Advertisement