Data values (Pocket Edition)

From Minecraft Wiki
Jump to: navigation, search

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

Contents

[edit] 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 (v.0.2.0 and later) or the "player.dat" file stored there (v.0.1.3 and below).
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.png 1 1 Stone
Grass.png 2 2 Grass
Dirt.png 3 3 Dirt
Cobblestone.png 4 4 Cobblestone
Wooden Plank.png 5 5 Wooden Plank
Bedrock.png 7 7 Bedrock
Water.png 8 8 Flowing Water (having it in slot 2 makes the icon in slot one bugged but it will still place correctly)
Water.png 9 9 Stationary Water (also bugs other inventory icons)
Lava.png 10 A Flowing Lava (also bugs other inventory icons)
Lava.png 11 B Stationary Lava (also bugs other inventory icons)
Sand.png 12 C Sand
Gravel.png 13 D Gravel
Gold (Ore).png 14 E Gold Ore
Iron (Ore).png 15 F Iron Ore
Coal (Ore).png 16 10 Coal Ore
Wood.png 17 11 Wood
Leaves.png 18 12 Leaves
Glass.png 20 14 Glass
Lapis Lazuli (Ore).png 21 15 Lapis Lazuli Ore
Lapis Lazuli (Block).png 22 16 Lapis Lazuli Block
Sandstone.png 24 18 Sandstone
White Wool.png 35 23 Wool D B
Dandelion.png 37 25 Yellow Flower
Cyan Flower.png 38 26 Cyan Flower
Brown Mushroom.png 39 27 Brown Mushroom
Red Mushroom.png 40 28 Red Mushroom
Gold (Block).png 41 29 Gold Block
Iron (Block).png 42 2A Iron Block
Double Stone Slab.png 43 2B Double Stone Slab (has the top texture on all sides in inventory but places as a normal double stone slab)
Stone Slab.png 44 2C Stone Slab
Brick (Block).png 45 2D Brick Block
TNT.png 46 2E TNT (Can be primed as of v0.2.0)
Bookshelf.png 47 2F Bookshelf
Moss Stone.png 48 30 Moss Stone
Obsidian.png 49 31 Obsidian
Torch.png 50 32 Torch
Fire.png 51 33 Fire (does not seem to actually place down but does cause smoke particles very briefly when you attempt to place it)
Wooden Stairs.png 53 35 Wooden Stairs
Diamond (Ore).png 56 38 Diamond Ore
Diamond (Block).png 57 39 Diamond Block
Crafting Table.png 58 3A Crafting Table
Farmland.png 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)
Wooden Door.png 64 40 Wooden Door
Ladders.png 65 41 Ladder
Cobblestone Stairs.png 67 43 Cobblestone Stairs
Iron Door.png 71 47 Iron Door (will not open or close, presumably due to the lack of redstone powering it)
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.png 78 4E Snow (snow cover)
Ice.png 79 4F Ice (like desktop edition in pretty much every way; melts when near lava and turns to water source, slippery, etc.)
Snow (Block).png 80 50 Snow Block
Cactus.png 81 51 Cactus
Clay (Block).png 82 52 Clay
Sugar Cane.png 83 53 Sugar Cane
Fence.png 85 55 Fence
Fence Gate (Closed).png 107 6B Fence Gate D

[edit] 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.

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

[edit] Entity IDs

These are entity IDs found in the getEntityTypeId methods of a disassembled libminecraftpe.so file from Android.

Icon Dec Hex Entity
Drops
EnvCSS.png
64 40 Dropped item
Icon Dec Hex Entity
Hostile mobs
EntityCSS.png
32 20 Zombie
Icon Dec Hex Entity
Passive mobs
EntityCSS.png
10 A Chicken
EntityCSS.png
11 B Cow
EntityCSS.png
12 C Pig
EntityCSS.png
13 D Sheep

[edit] References

  1. http://www.minecraftforum.net/topic/1034912-a-list-of-variables-from-tile-and-item-classes-any-hidden-items/page__view__findpost__p__12886737

Personal tools
Namespaces
Variants
Actions
Minecraft Wiki
Minecraft
Toolbox
In other languages

Recent Community Articles

Mojang Tweets

    Getting your tweets...