Anda di halaman 1dari 7

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

Data values
From Minecraft Wiki
For data values on mods that add new items, see Mod data values 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. Each inventory slot has a unique slot number. In a Beta world, Block data further defines blocks placed, describing for example the height of water or the direction a torch points.

Contents
1 Block IDs 2 Item IDs 3 Inventory Slot Number 4 Data 4.1 Wood 4.2 Fire 4.3 Leaves 4.4 Coal 4.5 Saplings 4.6 Cactus 4.7 Water and Lava 4.8 Farmland 4.9 Crops 4.10 Wool 4.11 Dyes 4.12 Torches and Redstone Torches 4.13 Minecart Tracks 4.14 Ladders 4.15 Stairs 4.16 Levers 4.17 Doors 4.18 Buttons 4.19 Sign Posts 4.20 Wall Signs 4.21 Furnaces and Dispensers 4.22 Pumpkins and Jack-O-Lanterns 4.23 Pressure Plates 4.24 Slab and Double Slab material 4.25 Beds 4.26 Redstone Repeater

Beta picture reference in 3D

Block IDs
These values apply to both inventory items and to blocks placed in the world. This reflects the most recent version. Entries marked with a D require additional data to fully define the block in a Beta world. Entries marked with an I have a different ID as an inventory item. Entries marked with a B require additional inventory data to fully define the inventory item. Items with IDs in red cannot be legitimately obtained in the player's inventory in the game; they can only be obtained by "hacking" (such as the use of Inventory editors) or, in multiplayer using the /give server command. Icon Dec Hex 00 00 01 01 02 02 03 03 04 04 05 05 06 06 07 07 08 08 Block type Air Stone Grass Dirt Cobblestone Wooden Plank Sapling
D

Icon Dec Hex 41 29 42 2A 43 2B 44 2C 45 2D 46 2E 47 2F 48 30 49 31 50 32 51 33


D

Block type Gold Block Iron Block Double Slab Slab D B Brick Block TNT Bookshelf Moss Stone Obsidian Torch D Fire Monster Spawner
DB

Icon Dec Hex 73 49 74 4A 75 4B 76 4C 77 4D 78 4E 79 4F 80 50 81 51 82 52 83 53 84 54

Block type Redstone Ore Glowing Redstone Ore Redstone Torch ("off" state) D Redstone Torch ("on" state) D Stone Button D Snow Ice Snow Block Cactus Clay Block Sugar Cane I Jukebox
Beta picture reference in 2D

Bedrock Water
D

09 09 Stationary water D 10 0A Lava D

11 0B Stationary lava

52 34

1 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

12 0C 13 0D 14 0E 15 0F 16 10 17 11 18 12 19 13 20 14 21 15

Sand Gravel Gold Ore Iron Ore Coal Ore Wood


DB D

53 35 54 36 55 37 56 38 57 39 58 3A 59 3B 60 3C 61 3D 62 3E 63 3F 64 40 65 41 66 42 67 43 68 44 69 45 70 46 71 47

Wooden Stairs D Chest Redstone Wire


DI

85 55 86 56 87 57 88 58 89 59 90 5A 91 5B 92 5C

Fence Pumpkin
D

Item IDs
All items have values above 255, making it easy to separate the Block IDs from the Item IDs. Entries marked with a D require additional data to fully define the item in a Beta world. The chainmail set is currently unobtainable without hacking or, in multiplayer, the /give server command. Icon Dec Hex 256 100 257 101 258 102 259 103 260 104 261 105 262 106 263 107 264 108 265 109 266 10A 267 10B Item Iron Shovel Iron Pickaxe Iron Axe Flint and Steel Apple Bow Arrow Coal D Diamond Iron Ingot Gold Ingot Iron Sword

Netherrack Soul Sand Glowstone Block Portal Jack-O-Lantern D Cake Block

Diamond Ore Diamond Block Crafting Table Crops D Farmland D Furnace


D

Leaves

Sponge Glass Lapis Lazuli Ore

93 5D Redstone Repeater ("off" state) D I 94 5E Redstone Repeater ("on" state) D I

Burning Furnace D Sign Post D I Wooden Door Ladder D Rails D Cobblestone Stairs Wall Sign D I Lever D Stone Pressure Plate Iron Door D I
D D DI

22 16 Lapis Lazuli Block 23 17 24 18 25 19 26 1A 35 23 37 25 38 26 Dispenser Sandstone Note Block Bed D I Wool


DB

268 10C Wooden Sword 269 10D Wooden Shovel 270 10E Wooden Pickaxe 271 10F 272 110 273 111 274 112 275 113 Wooden Axe Stone Sword Stone Shovel Stone Pickaxe Stone Axe

Yellow Flower Red Rose

39 27 Brown Mushroom 40 28 Red Mushroom

72 48 Wooden Pressure Plate D

276 114 Diamond Sword 277 115 Diamond Shovel 278 116 Diamond Pickaxe 279 117 280 118 281 119 283 11B 284 11C 285 11D 286 11E 287 11F Icon Dec Hex 288 120 289 121 290 122 291 123 292 124 293 125 294 126 295 127 296 128 297 129 298 12A 300 12C 301 12D Item Feather Gunpowder Wooden Hoe Stone Hoe Iron Hoe Diamond Hoe Gold Hoe Seeds Wheat Bread Leather Helmet Leather Leggings Leather Boots Icon Dec Hex Item Icon Dec Hex 320 140 Cooked Porkchop 352 160 321 141 322 142 323 143 324 144 325 145 326 146 327 147 328 148 329 149 330 14A 331 14B 332 14C 333 14D 334 14E 335 14F 336 150 337 151 338 152 339 153 340 154 341 155 Paintings Golden apple Sign Wooden door Bucket Water bucket Lava bucket Minecart Saddle Iron door Redstone Snowball Boat Leather Milk Clay Brick Clay Balls Sugar Cane Paper Book Slimeball 353 161 354 162 355 163 Item Bone Sugar Cake Bed Diamond Axe Stick Bowl Gold Sword Gold Shovel Gold Pickaxe Gold Axe String

282 11A Mushroom Soup

356 164 Redstone Repeater 2256 8D0 Gold Music Disc 2257 8D1 Green Music Disc

299 12B Leather Chestplate

302 12E Chainmail Helmet 303 12F Chainmail Chestplate 304 130 Chainmail Leggings 305 131 306 132 307 133 308 134 309 135 310 136 Chainmail Boots Iron Helmet Iron Chestplate Iron Leggings Iron Boots Diamond Helmet

2 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

342 156 Storage Minecart 343 157 Powered Minecart 344 158 345 159 346 15A 347 15B 349 15D 350 15E 351 15F Egg Compass Fishing Rod Clock Raw Fish Cooked Fish Dye D

Inventory Slot Number

348 15C Glowstone Dust

Data
Special data for certain block and item types. Storage differs according to level format. Block dec hex Use Wood 0-2 0-2 Wood Texture Fire 0-15 0-F Age in some fraction of a second Leaves 0-2 0-2 Leaves Texture Saplings 0-15 0-F Age Cactus 0-15 0-F Age Water and Lava 0-15 0-F Fluid level Soil/Farmland 0-8 0-8 Wetness Crops 0-7 0-7 Crop size Wool 0-15 0-F Color Dyes 0-15 0-F Dye Color Torches and Redstone Torches 0-5 0-5 Torch orientation Redstone 0-15 0-F Current strength Rails 0-9 0-9 Rail slope and orientation Ladders 0-3 0-3 Ladder orientation Stairs 0-3 0-3 Stair orientation Levers 6-14 6-E Lever orientation and thrown state Doors 0-15 0-F Hinge corner position and swing state Buttons 0-15 0-F Button orientation Sign Posts 0-15 0-F Sign orientation Wall Signs 2-5 2-5 Sign orientation Furnaces and Dispensers 2-5 2-5 Furnace or Dispenser orientation Pumpkins and Jack-o-lanterns 0-3 0-3 Pumpkin orientation Pressure Plates 0-1 0-1 Whether it's pressed Coal 0-1 0-1 Type of coal (mined coal or charcoal) Tools and Armor varies Damage level Slabs 0-3 0-3 Type of slab Bed 0-3, 8-11 0-3, 8-B Orientation and head/foot Redstone Repeater/Delayer 0-15 0-F Orientation and delay

Wood
Icon Value Description 0 Is the usual trunk texture 1 Is the redwood like texture 2 Is a birch texture

Fire
0x0 is a placed or spread fire. Once it reaches 0xF the eternal fire-trick will work since there will be no further updates of the block

Leaves
Icon Value Description 0 Is the usual tree's leaves texture 1 Is the redwood tree's leaves texture 2 Is a birch tree's leaves texture

Coal

3 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

Icon Value Description Saplings 0 Coal 0x0 is a freshly planted sapling. The data value is incremented at random intervals. When it becomes 15, a new tree is created in its place. 1 Charcoal

Cactus
0x0 is a freshly planted cactus. The data value is incremented at random intervals. When it becomes 15, a new cactus block is created on top as long as the total height does not exceed 3.

Water and Lava


0x0 is a full block. Water goes up to 0x7, Lava can only go up to 0x3. If bit 0x8 is set, this liquid is "falling" and only spreads downward.

Farmland
0x0 is dry land, 0x1-0x8 are increasing levels of wetness. The wetness value depends on how far the block is away from water.

Crops
Crops grow from 0x0 to 0x7 (Pictured below). Icon Value 0 1 2 3 4 5 6 7

Wool
These values specify the color of the wool. This data is stored in block metadata for placed wool, and as the "damage" for wool in the inventory. Icon Dec Hex Description 0 0x0 Regular wool (white) 1 0x1 Orange 2 0x2 Magenta 3 0x3 Light Blue 4 0x4 Yellow 5 0x5 Light Green 6 0x6 Pink 7 0x7 Gray 8 0x8 Light Gray 9 0x9 Cyan 10 0xA Purple 11 0xB Blue 12 0xC Brown 13 0xD Dark Green 14 0xE Red 15 0xF Black

Dyes
Icon Dec Hex Description 0 0x0 Ink Sac 1 0x1 Rose Red 2 0x2 Cactus Green 3 0x3 Cocoa Beans 4 0x4 Lapis Lazuli 5 0x5 Purple Dye 6 0x6 Cyan Dye 7 0x7 Light Gray Dye 8 0x8 Gray Dye 9 0x9 Pink Dye 10 0xA Lime Dye 11 0xB Dandelion Yellow 12 0xC Light Blue Dye 13 0xD Magenta Dye 14 0xE Orange Dye

4 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

15 0xF Bone Meal 0x1: Pointing south 0x2: Pointing north 0x3: Pointing west 0x4: Pointing east 0x5: Standing on the floor

Torches and Redstone Torches

Minecart Tracks
0x0: flat track going east-west 0x1: flat track going north-south 0x2: track ascending to the south 0x3: track ascending to the north 0x4: track ascending to the east 0x5: track ascending to the west Make a circle from four rails: 0x6: Northeast corner 0x7: Southeast corner 0x8: Southwest corner 0x9: Northwest corner

Ladders
0x2: Attached to the east side of a block 0x3: West side of a block 0x4: North side 0x5: South side

Stairs
0x0: Ascending south 0x1: Ascending north 0x2: Ascending west 0x3: Ascending east

Levers
0x8: If this bit is set, the lever has been thrown and is providing power. Wall levers: 0x1: Facing south 0x2: Facing north 0x3: Facing west 0x4: Facing east Ground levers: 0x5: Lever points west when off. 0x6: Lever points south when off. (Note that unlike the other types of switch, this version will not power wires around the block it is sitting on.)

Doors
0x8: If this bit is set, this is the top half of a door. 0x4: If this bit is set, the door has swung counterclockwise around its hinge. Location of hinge within block: 0x0: Northeast corner 0x1: Southeast corner 0x2: Southwest corner 0x3: Northwest corner

Buttons
0x8 If this bit is set, the button has been pressed. If this bit is set in a saved level, the button will remain pressed for an undefined length of time after the level is loaded. Button direction: 0x1: Facing south 0x2: Facing north 0x3: Facing west 0x4: Facing east

Sign Posts
0x0: West 0x1: West-Northwest 0x2: Northwest 0x3: North-Northwest 0x4: North 0x5: North-Northeast 0x6: Northeast

5 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

0x7: East-Northeast 0x8: East 0x9: East-Southeast 0xA: Southeast 0xB: South-Southeast 0xC: South 0xD: South-Southwest 0xE: Southwest 0xF: West-Southwest

Wall Signs
0x2: Facing east 0x3: Facing west 0x4: Facing north 0x5: Facing south

Furnaces and Dispensers


0x2: Facing east 0x3: Facing west 0x4: Facing north 0x5: Facing south

Pumpkins and Jack-O-Lanterns


0x0: Facing east 0x1: Facing south 0x2: Facing west 0x3: Facing north

Pressure Plates
0x1: If this bit is set, the plate is pressed.

Slab and Double Slab material


Icon Value Description 0x0 Stone Slab 0x1 Sandstone Slab 0x2 Wooden Slab 0x3 Cobblestone Slab

Beds
0x0: Head is pointing West 0x1: Head is pointing North 0x2: Head is pointing East 0x3: Head is pointing South 0x8: (bit flag) - When 0, the foot of the bed. When 1, the head of the bed.

Redstone Repeater
Low (1st & 2nd) bits: 0x0: Facing east 0x1: Facing south 0x2: Facing west 0x3: Facing north High (3rd & 4th) bits: 0x0: 1 tick delay 0x1: 2 tick delay 0x2: 3 tick delay 0x3: 4 tick delay Retrieved from "http://www.minecraftwiki.net/wiki/Data_values" Category: Development

This page was last modified on 14 March 2011, at 19:06. Privacy policy About Minecraft Wiki Disclaimers 2006-2010 Curse, Inc.

Advertising Curse Premium Terms of Service Privacy Policy Careers

6 of 7

3/15/2011 12:48 PM

Data values - Minecraft Wiki

http://www.minecraftwiki.net/wiki/Data_values

Core
Curse.com MMO-Champion Curse Forge WoW Ace SC2 Replayed SC2 Mapster

Database
Aion Armory Zybez Runescape

Community
World of Raids Aion Source Minecraft Forum Diablo Fans Guild Wars 2 Guru Blade & Soul Dojo Warhammer Alliance Arena Junkies FFXIV Core Guild Wars Guru Tera Fans COD: Black Ops News

Wiki
Wowpedia GuildWiki The Evony Wiki Vindictus Wiki FFXIV Core Wiki RIFT Wiki Minecraft Wiki PvX Wiki The Runes of Magic Wiki TERA Fans Wiki Diablo Wiki Blade & Soul Wiki

7 of 7

3/15/2011 12:48 PM

Anda mungkin juga menyukai