Pocket Edition data values

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση
Picture reference.

The Pocket Edition data values differ majorly from the PC edition data values.

IDs[επεξεργασία | επεξεργασία κώδικα]

I Has a different ID as an inventory item.
D 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 via inventory editors.
Light Blue Cannot be obtained no matter what.
Blue Available in Creative mode by item list.
Teal Can be obtained by trading with villagers or in Creative mode.
Green Only available by having Enchanted tools or in Creative mode.
Lime Green Only available by having Enchanted tools or via use of inventory editors, but unobtainable in the Creative mode menu.
Gray Unused data.

Block IDs[επεξεργασία | επεξεργασία κώδικα]

Icon Dec Hex Block
0 0 Air
Stone.png 1 1 Stone S B
Grass.png 2 2 Grass Block
Dirt.png 3 3 Dirt
Cobblestone.png 4 4 Cobblestone
25px 5 5 Wood Planks S B
Oak Sapling.png 6 6 Sapling S B
Bedrock.png 7 7 Bedrock
Water.png 8 8 Water S
Water.png 9 9 Stationary Water S
Lava.png 10 A Lava S
Lava.png 11 B Stationary Lava S
Sand.png 12 C Sand S B
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
Oak Log Axis Y.png 17 11 Wood S B
Leaves.png 18 12 Leaves S B
Sponge.png 19 13 Sponge B
Glass.png 20 14 Glass
Lapis Lazuli Ore.png 21 15 Lapis Lazuli Ore
Lapis Lazuli Block.png 22 16 Lapis Lazuli Block
Dispenser.png 23 17 Dispenser S E
Sandstone.png 24 18 Sandstone S B
Note Block.png 25 19 Note Block E
25px 26 1A Bed S
25px 27 1B Powered Rail
Detector Rail.png 28 1C Detector Rail
Sticky Piston.png 29 1D Sticky Piston S
25px 30 1E Cobweb
Tall Grass.png 31 1F Tall Grass
Dead Bush.png 32 20 Dead Bush
Piston.png 33 21 Piston S
25px 34 22 Piston Head S
White Wool.png 35 23 Wool S B
Dandelion.png 37 25 Dandelion
Poppy.png 38 26 Flower S B
Brown Mushroom.png 39 27 Brown Mushroom
Red Mushroom.png 40 28 Red Mushroom
Block of Gold.png 41 29 Block of Gold
Block of Iron.png 42 2A Block of Iron
25px 43 2B Double Stone Slab S
Stone Slab.png 44 2C Stone Slab S B
Bricks.png 45 2D Bricks
TNT.png 46 2E TNT
Bookshelf.png 47 2F Bookshelf
25px 48 30 Moss Stone
Obsidian.png 49 31 Obsidian
Torch.png 50 32 Torch
Fire.png 51 33 Fire
25px 52 34 Monster Spawner E
25px 53 35 Oak Wood Stairs S
Chest.png 54 36 Chest S E
Icon Dec Hex Block
Redstone (Wire, Inventory, Pocket).png 55 37 Redstone Wire I S
Diamond Ore.png 56 38 Diamond Ore
Block of Diamond.png 57 39 Block of Diamond
Crafting Table.png 58 3A Crafting Table
25px 59 3B Crops D
Farmland.png 60 3C Farmland D
Furnace.png 61 3D Furnace S E
25px 62 3E Burning Furnace S E
25px 63 3F Sign I S E
25px 64 40 Wooden Door I S
Ladder.png 65 41 Ladder
Rail.png 66 42 Rail
Cobblestone Stairs.png 67 43 Cobblestone Stairs D
25px 68 44 Wall Sign I S E
Lever.png 69 45 Lever S
Stone Pressure Plate.png 70 46 Stone Pressure Plate S
Iron Door.png 71 47 Iron Door I S
25px 72 48 Wooden Pressure Plate S
Redstone Ore.png 73 49 Redstone Ore
Redstone Ore.png 74 4A Glowing Redstone Ore
25px 75 4B Redstone Torch (inactive) S
25px 76 4C Redstone Torch (active) S
Stone Button.png 77 4D Stone Button S
Snow.png 78 4E Top Snow
Ice.png 79 4F Ice
25px 80 50 Snow
Cactus.png 81 51 Cactus
Clay Block.png 82 52 Clay
Sugar Cane.png 83 53 Sugar Cane I S
25px 85 55 Fence
Pumpkin.png 86 56 Pumpkin S
Netherrack.png 87 57 Netherrack
Soul Sand.png 88 58 Soul Sand
Glowstone.png 89 59 Glowstone
Portal.png 90 5A Portal
Jack o'Lantern.png 91 5B Jack o'Lantern S
Cake.png 92 5C Cake I S
25px 93 5D Redstone Repeater (inactive) I S
25px 94 5E Redstone Repeater (active) I S
95 5F Invisible Bedrock
25px 96 60 Trapdoor S
Stone.png 97 61 Monster Egg S B
25px 98 62 Stone Brick S B
25px 99 63 Brown Mushroom
25px 100 64 Red Mushroom
Iron Bars (unconnected).png 101 65 Iron Bars
Glass Pane.png 102 66 Glass Pane
25px 103 67 Melon
25px 104 68 Pumpkin Stem S
25px 105 69 Melon Stem S
Vines.png 106 6A Vines S
Oak Fence Gate.png 107 6B Fence Gate S
Brick Stairs.png 108 6C Brick Stairs S
Stone Brick Stairs.png 109 6D Stone Brick Stairs S
Icon Dec Hex Block
Mycelium.png 110 6E Mycelium
Lily Pad.png 111 6F Lily Pad
Nether Brick.png 112 70 Nether Brick
Nether Brick Fence.png 113 71 Nether Brick Fence
Nether Brick Stairs.png 114 72 Nether Brick Stairs S
Nether Wart.png 115 73 Nether Wart I S
25px 116 74 Enchantment Table E
Brewing Stand.png 117 75 Brewing Stand I S E
Cauldron.png 118 76 Cauldron I S E
End Portal.png 119 77 End Portal
End Portal Frame.png 120 78 End Portal Frame
End Stone.png 121 79 End Stone
Dragon Egg.png 122 7A Dragon Egg
Unlit Redstone Lamp.png 123 7B Redstone Lamp (inactive)
25px 124 7C Redstone Lamp (active)
Dropper.png 125 7D Dropper S E
Activator Rail.png 126 7E Activator Rail S
25px 127 7F Cocoa I S
Sandstone Stairs.png 128 80 Sandstone Stairs S
Emerald Ore.png 129 81 Emerald Ore
Ender Chest.png 130 82 Ender Chest
Tripwire Hook.png 131 83 Tripwire Hook S
Tripwire.png 132 84 Tripwire I S
Block of Emerald.png 133 85 Block of Emerald
25px 134 86 Spruce Wood Stairs S
25px 135 87 Birch Wood Stairs S
25px 136 88 Jungle Wood Stairs S
Beacon.png 138 8A Beacon E
Cobblestone Wall.png 139 8B Cobblestone Wall S B
Flower Pot.png 140 8C Flower Pot I S E
25px 141 8D Carrots I S
25px 142 8E Potato I S
25px 143 8F Wooden Button S
Player Head.png 144 90 Mob head I S E
Anvil.png 145 91 Anvil S B
Trapped Chest.png 146 92 Trapped Chest S E
25px 147 93 Weighted Pressure Plate (Light) S
25px 148 94 Weighted Pressure Plate (Heavy) S
25px 149 95 Redstone Comparator (unpowered) I S
25px 150 96 Redstone Comparator (powered) S
25px 151 97 Daylight Sensor E
Block of Redstone.png 152 98 Block of Redstone
Nether Quartz Ore.png 153 99 Nether Quartz Ore
Hopper.png 154 9A Hopper I S E
Block of Quartz.png 155 9B Block of Quartz S B
Quartz Stairs.png 156 9C Quartz Stairs S
25px 157 9D Wooden Double Slab S
25px 158 9E Wooden Slab S B
25px 159 9F Stained Clay S B
Glass Pane.png 160 A0 Stained Glass Pane S B
Leaves.png 161 A1 Acacia Leaves S B
Acacia Wood.png 162 A2 Acacia Wood S B
25px 163 A3 Acacia Wood Stairs S
25px 164 A4 Dark Oak Wood Stairs S
Icon Dec Hex Block
Slime Block.png 165 A5 Slime Block
Iron Trapdoor.png 167 A7 Iron Trapdoor S
Prismarine.png 168 A8 Prismarine S B
Sea Lantern.png 169 A9 Sea Lantern
Hay Bale Axis Y.png 170 AA Hay Bale
White Carpet.png 171 AB Carpet S B
25px 172 AC Hardened Clay S B
Block of Coal.png 173 AD Block of Coal
Packed Ice.png 174 AE Packed Ice
Sunflower.png 175 AF Sunflower
25px 178 B2 Inverted Daylight Sensor
Red Sandstone.png 179 B3 Red Sandstone S B
Red Sandstone Stairs.png 180 B4 Red Sandstone Stairs S
Red Sandstone.png 181 B5 Double Red Sandstone Slab S
Red Sandstone Slab.png 182 B6 Red Sandstone Slab S
25px 183 B7 Spruce Fence Gate
25px 184 B8 Birch Fence Gate
25px 185 B9 Jungle Fence Gate
25px 186 BA Dark Oak Fence Gate
25px 187 BB Acacia Fence Gate
Spruce Door.png 193 C1 Spruce Door I S
Birch Door.png 194 C2 Birch Door I S
Jungle Door.png 195 C3 Jungle Door I S
Acacia Door.png 196 C4 Acacia Door I S
Dark Oak Door.png 197 C5 Dark Oak Door I S
Grass Path.png 198 C6 Grass Path
Item Frame.png 199 C7 Item Frame I
Chorus Flower.png 200 C8 Chorus Flower
Purpur Block.png 201 C9 Purpur Block
Purpur Stairs.png 203 CB Purpur Stairs
End Stone Bricks.png 206 CE End Bricks
End Rod.png 208 D0 End Rod
25px 209 D1 End Gateway
Chorus Plant.png 240 F0 Chorus Plant
Glass.png 241 F1 Stained Glass S B
Podzol.png 243 F3 Podzol
25px 244 F4 Beetroot I S
25px 245 F5 Stonecutter
Glowing Obsidian.png 246 F6 Glowing Obsidian
25px 247 F7 Nether Reactor Core
Update Game.png 248 F8 Update Game Block (update!) [note 1]
Block 249.png 249 F9 Update Game Block (ate!upd)
250 FA Block moved by Piston E
Observer.png 251 FB Observer
Update Game.png 255 FF reserved6
Education Edition
Allow.png 210 D2 Allow
Deny.png 211 D3 Deny
25px 212 D4 Border Block
Chalkboard.png 230 E6 Chalkboard
Camera Block.png 242 F2 Camera
  1. Default block for any invalid ID.

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. This list is based on a list of all item variables in the Item class.


Icon Dec Hex Items
256 100 Iron Shovel D
257 101 Iron Pickaxe D
258 102 Iron Axe D
259 103 Flint and Steel D
260 104 Apple
261 105 Bow D
262 106 Arrow
263 107 Coal B
264 108 Diamond
265 109 Iron Ingot
266 10A Gold Ingot
267 10B Iron Sword D
268 10C Wooden Sword D
269 10D Wooden Shovel D
270 10E Wooden Pickaxe D
271 10F Wooden Axe D
272 110 Stone Sword D
273 111 Stone Shovel D
274 112 Stone Pickaxe D
275 113 Stone Axe D
276 114 Diamond Sword D
277 115 Diamond Shovel D
278 116 Diamond Pickaxe D
279 117 Diamond Axe D
280 118 Stick
281 119 Bowl
282 11A Mushroom Stew
283 11B Golden Sword D
284 11C Golden Shovel D
285 11D Golden Pickaxe D
286 11E Golden Axe D
287 11F String
288 120 Feather
289 121 Gunpowder
290 122 Wooden Hoe D
291 123 Stone Hoe D
292 124 Iron Hoe D
293 125 Diamond Hoe D
Icon Dec Hex Items
294 126 Golden Hoe D
295 127 Seeds
296 128 Wheat
297 129 Bread
298 12A Leather Cap D
299 12B Leather Tunic D
300 12C Leather Pants D
301 12D Leather Boots D
302 12E Chain Helmet D
303 12F Chain Chestplate D
304 130 Chain Leggings D
305 131 Chain Boots D
306 132 Iron Helmet D
307 133 Iron Chestplate D
308 134 Iron Leggings D
309 135 Iron Boots D
310 136 Diamond Helmet D
311 137 Diamond Chestplate D
312 138 Diamond Leggings D
313 139 Diamond Boots D
314 13A Golden Helmet D
315 13B Golden Chestplate D
316 13C Golden Leggings D
317 13D Golden Boots D
318 13E Flint
319 13F Raw Porkchop
320 140 Cooked Porkchop
321 141 Painting
322 142 Golden Apple B
323 143 Sign
324 144 Wooden Door
325 145 Bucket
328 148 Minecart
329 149 Saddle
330 14A Iron Door
331 14B Redstone
332 14C Snowball
333 14D Boat
Icon Dec Hex Items
334 14E Leather
336 150 Brick
337 151 Clay
338 152 Sugar Cane
339 153 Paper
340 154 Book
341 155 Slimeball
342 156 Minecart with Chest
344 158 Egg
345 159 Compass
346 15A Fishing Rod D
347 15B Clock
348 15C Glowstone Dust
349 15D Raw Fish
350 15E Cooked Fish
351 15F Dye B
352 160 Bone
353 161 Sugar
354 162 Cake
355 163 Bed
356 164 Redstone Repeater
357 165 Cookie
358 166 Filled Map B
359 167 Shears D
360 168 Melon
361 169 Pumpkin Seeds
362 16A Melon Seeds
363 16B Raw Beef
364 16C Steak
365 16D Raw Chicken
366 16E Cooked Chicken
367 16F Rotten Flesh
368 170 Ender Pearl
369 171 Blaze Rod
370 172 Ghast Tear
371 173 Gold Nugget
372 174 Nether Wart
373 175 Potion
Icon Dec Hex Items
374 176 Glass Bottle
375 177 Spider Eye
376 178 Fermented Spider Eye
377 179 Blaze Powder
378 17A Magma Cream
379 17B Brewing Stand
380 17C Cauldron
381 17D Eye of Ender
382 17E Glistering Melon
383 17F Spawn Egg B
384 180 Bottle o' Enchanting
385 181 Fire Charge
388 184 Emerald
389 185 Item Frame
390 186 Flower Pot
391 187 Carrot
392 188 Potato
393 189 Baked Potato
394 18A Poisonous Potato
395 18B Empty Map
396 18C Golden Carrot
397 18D Mob head
398 18E Carrot on a Stick D
399 18F Nether Star
400 190 Pumpkin Pie
403 193 Enchanted Book
404 194 Redstone Comparator
405 195 Nether Brick
406 196 Nether Quartz
407 197 Minecart with TNT
408 198 Minecart with Hopper
409 199 Prismarine Shard
410 19A Hopper
411 19B Raw Rabbit
412 19C Cooked Rabbit
413 19D Rabbit Stew
414 19E Rabbit's Foot
415 19F Rabbit Hide
Icon Dec Hex Items
416 1A0 Leather Horse Armor
417 1A1 Iron Horse Armor
418 1A2 Golden Horse Armor
419 1A3 Diamond Horse Armor
420 1A4 Lead
421 1A5 Name Tag
422 1A6 Prismarine Crystals
423 1A7 Raw Mutton
424 1A8 Cooked Mutton
426 1AA End Crystal
427 1AB Spruce Door
428 1AC Birch Door
429 1AD Jungle Door
430 1AE Acacia Door
431 1AF Dark Oak Door
432 1B0 Chorus Fruit
433 1B1 Popped Chorus Fruit
437 1B5 Dragon's Breath
438 1B6 Splash Potion
441 1B9 Lingering Potion
444 1BC Elytra
445 1BD Shulker Shell
457 1C9 Beetroot
458 1CA Beetroot Seeds
459 1CB Beetroot Soup
460 1CC Raw Salmon
461 1CD Clownfish
462 1CE Pufferfish
463 1CF Cooked Salmon
466 1D2 Enchanted Golden Apple
Education Edition
454 1C6 Chalkboard
456 1C8 Portfolio
498 1F2 Camera

Entity IDs[επεξεργασία | επεξεργασία κώδικα]

Icon Dec Hex Entity
Drops
64 40 Dropped item
69 45 Experience Orb
Blocks
65 41 Primed TNT
66 42 Falling block
Immobile and projectiles
68 44 Thrown Bottle o' Enchanting
70 46 Eye Of Ender
71 47 Ender Crystal
76 4C Shulker bullet
77 4D Fishing Rod hook
79 4F Dragon fireball
80 50 Shot arrow
81 51 Thrown snowball
82 52 Thrown egg
83 53 Painting
84 54 Minecart
85 55 Ghast fireball
86 56 Thrown splash potion
87 57 Thrown Ender Pearl
88 58 Leash knot
89 59 Blue wither skull
90 5A Boat
93 5D Lightning Bolt
94 5E Blaze fireball
95 5F Area Effect Cloud
96 60 Minecart with Hopper
97 61 Minecart with TNT
98 62 Minecart with Chest
101 65 Thrown lingering potion
Hostile mobs
32 20 Zombie
33 21 Creeper
34 22 Skeleton
35 23 Spider
36 24 Zombie Pigman
37 25 Slime
38 26 Enderman
39 27 Silverfish
40 28 Cave Spider
41 29 Ghast
42 2A Magma Cube
43 2B Blaze
44 2C Zombie Villager
45 2D Witch
46 2E Stray
47 2F Husk
48 30 Wither Skeleton
49 31 Guardian
50 32 Elder Guardian
52 34 Wither
53 35 Ender Dragon
54 36 Shulker
55 37 Endermite
Passive mobs
10 A Chicken
11 B Cow
12 C Pig
13 D Sheep
14 E Wolf
15 F Villager
16 10 Mooshroom
17 11 Squid
18 12 Rabbit
19 13 Bat
20 14 Iron Golem
21 15 Snow Golem
22 16 Ocelot
23 17 Horse
24 18 Donkey
25 19 Mule
26 1A Skeleton Horse
27 1B Zombie Horse
28 1C Polar Bear
Other
63 3F Player
Education Edition
51 33 NPC
56 38 Learn To Code Mascot
62 3E Camera
78 4E Chalkboard

References[επεξεργασία | επεξεργασία κώδικα]