Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

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)

方块ID

Black Can be legitimately obtained in Minecraft Pocket Edition.
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.
T Requires a tile entity to store additional data.
Icon Dec Hex Block type
0 0 Air
Stone 1 1 Stone
Grass 2 2 Grass Block
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 Water D
Water 9 9 Stationary water D
Lava 10 A Lava D
Lava 11 B Stationary lava D
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 D B
Leaves 18 12 Leaves D B
Glass 20 14 Glass
File:Lapis Lazuli (Ore).png 21 15 Lapis Lazuli Ore
Lapis Lazuli (Block) 22 16 Lapis Lazuli Block
Sandstone 24 18 Sandstone D
File:Bed.png 26 1A BedD
File:WebBlock.png 30 1E Cobweb
Tall Grass 31 1F Tall Grass (appears as a Dead Shrub when placed)
White Wool 35 23 Wool D B
Dandelion 37 25 Yellow Flower
Cyan Flower 38 26 Cyan Flower
Brown Mushroom 39 27 Brown Mushroom
Icon Dec Hex Block type
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
Stone Slab 44 2C Stone SlabD
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 (Has not spread from 0.3.3 to 0.6.1. Fixed in 0.7.0)
Wooden Stairs 53 35 Wooden Stairs
Chest 54 36 Chest (Does not have a large chest texture yet, so you cannot make one.)
File:Diamond (Ore).png 56 38 Diamond Ore
File:Diamond (Block).png 57 39 Diamond Block
Crafting Table 58 3A Crafting Table
File:Crops.png 59 3B Seeds D
Farmland 60 3C Farmland D
Furnace 61 3D Furnace D T
File:Furnace (Active).png 62 3E Burning Furnace D T
Sign 63 3F Sign Post D I T
Wooden Door 64 40 Wooden Door
File:Ladders.png 65 41 Ladder
Cobblestone Stairs 67 43 Cobblestone Stairs
Wall Sign 68 44 Wall Sign D T
Iron Door 71 47 Iron Door
File:Redstone (Ore).png 73 49 Redstone Ore
File:Redstone (Ore).png 74 4A Glowing Redstone Ore
Snow 78 4E snow (snow cover)
Ice 79 4F Ice
Icon Dec Hex Block type
Snow (Block) 80 50 Snow Block
Cactus 81 51 Cactus
File:Clay (Block).png 82 52 Clay
Sugar Cane 83 53 Sugar Cane
Fence 85 55 Fence
Netherrack 87 57 Netherrack
File:Glowstone (Block).png 89 59 Glowstone
95 5F Invisible Bedrock (The block that surrounds the maps. When placed it is possible to see through walls, but it cannot be destroyed because of its lack of a hitbox. When held, the item texture looks like that of a stone-like item.)
Stone Brick 98 62 Stone Brick D B
Glass Pane 102 66 Glass Pane
Melon (Block) 103 67 Melon
Seed Stem 105 69 Melon Stem D
File:Fence Gate (Closed).png 107 6B Fence Gate D
Stone Brick Stairs 109 6D Stone Brick Stairs D
Brick Stairs 108 6C Brick Stairs D
Nether Brick 112 70 Nether Brick
Nether Brick Stairs 114 72 Nether Brick Stairs D
Sandstone Stairs 128 80 Sandstone Stairs D
Block of Quartz 155 9B Block of Quartz D
Quartz Stairs 156 9C Quartz Stairs
StoneCutter 245 F5 Stone Cutter
Glowing Obsidian 246 F6 Glowing Obsidian
File:Reactor Block.png 247 F7 Nether Reactor Core
File:Update Game.png 248 F8 Update Game Block (update!) (This block is the default block for any invalid ID.)
File:Block 249.png 249 F9 Update Game Block (ate!upd)
Grass 253 FD Grass Block (This grass block mimics a normal grass block, but behaves differently. The texture is the same except for the bottom face which looks like the side faces. This block does not turn to dirt. It is believed to be the block that handles items held in hand.)
Jungle Leaves 254 FE Leaves (Mysterious leaves blocks that appears to look like jungle leaves. This block is unaffected by decay.)
Stone 255 FF .name (Little is known about this block. Assembly code says it's fire, Minecraft PE calls it .name in-game. This block is fast to destroy, making it good for traps or spleef arenas.)

物品ID

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
288 120 Feather
289 121 Gunpowder
298 12A Leather Cap
299 12B Leather Tunic
300 12C Leather Pants
301 12D Leather Boots
302 12E Chain Helmet
303 12F Chain Chestplate
Icon Dec Hex Item
304 130 Chain Leggings
305 131 Chain Boots
306 132 Iron Helmet
307 133 Iron Chestplate
308 134 Iron Leggings
309 135 Iron Boots
310 136 Diamond Helmet
311 137 Diamond Chestplate
312 138 Diamond Leggings
313 139 Diamond Boots
314 13A Golden Helmet
315 13B Golden Chestplate
316 13C Golden Leggings
317 13D Golden Boots
292 124 Flint
296 128 Wheat
321 141 Painting
323 143 Sign
324 144 Wooden door
325 145 BucketD
329 149 Saddle
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
345 159 Compass
347 15B Clock
348 15C Glowstone Dust
351 15F Dye D
352 160 Bone
353 161 Sugar
359 167 Shears
383 17F Spawn Egg D
405 195 Nether Brick
406 196 Nether Quartz
456 1C8 Camera

实体ID

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
? ? Falling block
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