Minecraft Item ID List and /give Command Generator


Search every item and block in Minecraft: Java Edition, from 1.0 through to 26.2. Copy the ID, or build a /give command that uses the right syntax for the version you are running. Older versions get numeric IDs and the correct target selector, because minecraft:diamond_sword and @s did not exist yet.

Minecraft 1.6.4 item ID list

Pick a version, search by name or ID, then choose an item to build the command.

  • Minecraft 1.6.4
  • 413 entries
  • Numeric IDs

Command syntax for Minecraft 1.6.4

  • Item names like minecraft:diamond_sword were not accepted until 1.7.2, so this version needs the numeric ID.
  • @s was added in 1.12. @p targets the nearest player.

Items and blocks

Choose an entry to build a /give command.

413 results

Item Numeric ID Stack Durability Use in command builder
Diamond Sword
276 1 1561
Stone
1 64
Grass Block
2 64
Dirt
3 64
Cobblestone
4 64
Oak Planks
5 64
Spruce Planks
5:1 64
Birch Planks
5:2 64
Jungle Planks
5:3 64
Oak Sapling
6 64
Spruce Sapling
6:1 64
Birch Sapling
6:2 64
Jungle Sapling
6:3 64
Bedrock
7 64
Sand
12 64
Gravel
13 64
Gold Ore
14 64
Iron Ore
15 64
Coal Ore
16 64
Oak wood facing up/down
17 64
Spruce wood facing up/down
17:1 64
Birch wood facing up/down
17:2 64
Jungle wood facing up/down
17:3 64
Oak wood facing East/West
17:4 64
Spruce wood facing East/West
17:5 64
Birch wood facing East/West
17:6 64
Jungle wood facing East/West
17:7 64
Oak wood facing North/South
17:8 64
Spruce wood facing North/South
17:9 64
Birch wood facing North/South
17:10 64
Jungle wood facing North/South
17:11 64
Oak wood with only bark
17:12 64
Spruce wood with only bark
17:13 64
Birch wood with only bark
17:14 64
Jungle wood with only bark
17:15 64
Oak Leaves
18 64
Spruce Leaves
18:1 64
Birch Leaves
18:2 64
Jungle Leaves
18:3 64
Oak Leaves (no decay)
18:4 64
Spruce Leaves (no decay)
18:5 64
Birch Leaves (no decay)
18:6 64
Jungle Leaves (no decay)
18:7 64
Oak Leaves (check decay)
18:8 64
Spruce Leaves (check decay)
18:9 64
Birch Leaves (check decay)
18:10 64
Jungle Leaves (check decay)
18:11 64
Oak Leaves (no decay and check decay)
18:12 64
Spruce Leaves (no decay and check decay)
18:13 64
Birch Leaves (no decay and check decay)
18:14 64
Jungle Leaves (no decay and check decay)
18:15 64
Sponge
19 64
Glass
20 64
Lapis Lazuli Ore
21 64
Lapis Lazuli Block
22 64
Dispenser
23 64
Sandstone
24 64
Chiseled sandstone
24:1 64
Smooth sandstone
24:2 64
Note Block
25 64
Powered Rail
27 64
Detector Rail
28 64
Sticky Piston
29 64
Cobweb
30 64
Grass
31 64
Dead Bush
32 64
Piston
33 64
White Wool
35 64
Orange Wool
35:1 64
Magenta Wool
35:2 64
Light blue Wool
35:3 64
Yellow Wool
35:4 64
Complete plain-text ID index (413 entries)
  • Stone 1
  • Grass Block 2
  • Dirt 3
  • Cobblestone 4
  • Oak Planks 5
  • Spruce Planks 5:1
  • Birch Planks 5:2
  • Jungle Planks 5:3
  • Oak Sapling 6
  • Spruce Sapling 6:1
  • Birch Sapling 6:2
  • Jungle Sapling 6:3
  • Bedrock 7
  • Sand 12
  • Gravel 13
  • Gold Ore 14
  • Iron Ore 15
  • Coal Ore 16
  • Oak wood facing up/down 17
  • Spruce wood facing up/down 17:1
  • Birch wood facing up/down 17:2
  • Jungle wood facing up/down 17:3
  • Oak wood facing East/West 17:4
  • Spruce wood facing East/West 17:5
  • Birch wood facing East/West 17:6
  • Jungle wood facing East/West 17:7
  • Oak wood facing North/South 17:8
  • Spruce wood facing North/South 17:9
  • Birch wood facing North/South 17:10
  • Jungle wood facing North/South 17:11
  • Oak wood with only bark 17:12
  • Spruce wood with only bark 17:13
  • Birch wood with only bark 17:14
  • Jungle wood with only bark 17:15
  • Oak Leaves 18
  • Spruce Leaves 18:1
  • Birch Leaves 18:2
  • Jungle Leaves 18:3
  • Oak Leaves (no decay) 18:4
  • Spruce Leaves (no decay) 18:5
  • Birch Leaves (no decay) 18:6
  • Jungle Leaves (no decay) 18:7
  • Oak Leaves (check decay) 18:8
  • Spruce Leaves (check decay) 18:9
  • Birch Leaves (check decay) 18:10
  • Jungle Leaves (check decay) 18:11
  • Oak Leaves (no decay and check decay) 18:12
  • Spruce Leaves (no decay and check decay) 18:13
  • Birch Leaves (no decay and check decay) 18:14
  • Jungle Leaves (no decay and check decay) 18:15
  • Sponge 19
  • Glass 20
  • Lapis Lazuli Ore 21
  • Lapis Lazuli Block 22
  • Dispenser 23
  • Sandstone 24
  • Chiseled sandstone 24:1
  • Smooth sandstone 24:2
  • Note Block 25
  • Powered Rail 27
  • Detector Rail 28
  • Sticky Piston 29
  • Cobweb 30
  • Grass 31
  • Dead Bush 32
  • Piston 33
  • White Wool 35
  • Orange Wool 35:1
  • Magenta Wool 35:2
  • Light blue Wool 35:3
  • Yellow Wool 35:4
  • Lime Wool 35:5
  • Pink Wool 35:6
  • Gray Wool 35:7
  • Light gray Wool 35:8
  • Cyan Wool 35:9
  • Purple Wool 35:10
  • Blue Wool 35:11
  • Brown Wool 35:12
  • Green Wool 35:13
  • Red Wool 35:14
  • Black Wool 35:15
  • Dandelion 37
  • Poppy 38
  • Brown Mushroom 39
  • Red Mushroom 40
  • Block of Gold 41
  • Block of Iron 42
  • Stone Slab 44
  • Brick 45
  • TNT 46
  • Bookshelf 47
  • Moss Stone 48
  • Obsidian 49
  • Torch 50
  • Monster Spawner 52
  • Oak Wood Stairs 53
  • Chest 54
  • Diamond Ore 56
  • Block of Diamond 57
  • Crafting Table 58
  • Farmland 60
  • Furnace 61
  • Ladder 65
  • Rail 66
  • Cobblestone Stairs 67
  • Lever 69
  • Stone Pressure Plate 70
  • Wooden Pressure Plate 72
  • Redstone Ore 73
  • Redstone Torch 76
  • Stone Button 77
  • Snow 78
  • Ice 79
  • Snow 80
  • Cactus 81
  • Clay 82
  • Jukebox 84
  • Oak Fence 85
  • Pumpkin 86
  • Netherrack 87
  • Soul Sand 88
  • Glowstone 89
  • Jack o'Lantern 91
  • Stained Glass 95
  • Wooden Trapdoor 96
  • Stone Monster Egg 97
  • Cobblestone Monster Egg 97:1
  • Stone Brick Monster Egg 97:2
  • Mossy stone brick 98:1
  • Cracked stone brick 98:2
  • Chiseled stone brick 98:3
  • Brown Mushroom Block 99
  • Red Mushroom Block 100
  • Iron Bars 101
  • Glass Pane 102
  • Melon 103
  • Vines 106
  • Oak Fence Gate 107
  • Brick Stairs 108
  • Stone Brick Stairs 109
  • Mycelium 110
  • Lily Pad 111
  • Nether Brick 112
  • Nether Brick Fence 113
  • Nether Brick Stairs 114
  • Enchantment Table 116
  • End Portal Frame 120
  • End Stone 121
  • Dragon Egg 122
  • Redstone Lamp 123
  • Oak Slab 126
  • Spruce Slab 126:1
  • Birch Slab 126:2
  • Jungle Slab 126:3
  • Sandstone Stairs 128
  • Emerald Ore 129
  • Ender Chest 130
  • Tripwire Hook 131
  • Block of Emerald 133
  • Spruce Wood Stairs 134
  • Birch Wood Stairs 135
  • Jungle Wood Stairs 136
  • Command Block 137
  • Beacon 138
  • Cobblestone Wall 139
  • Mossy Cobblestone Wall 139:1
  • Wooden Button 143
  • Anvil 145
  • Trapped Chest 146
  • Weighted Pressure Plate (Light) 147
  • Weighted Pressure Plate (Heavy) 148
  • Daylight Detector 151
  • Block of Redstone 152
  • Nether Quartz 153
  • Hopper 154
  • Chiseled Quartz Block 155:1
  • Quartz Stairs 156
  • Activator Rail 157
  • Dropper 158
  • White Stained Hardened Clay 159
  • Orange Stained Hardened Clay 159:1
  • Magenta Stained Hardened Clay 159:2
  • Light Blue Stained Hardened Clay 159:3
  • Yellow Stained Hardened Clay 159:4
  • Lime Stained Hardened Clay 159:5
  • Pink Stained Hardened Clay 159:6
  • Gray Stained Hardened Clay 159:7
  • Silver Stained Hardened Clay 159:8
  • Cyan Stained Hardened Clay 159:9
  • Purple Stained Hardened Clay 159:10
  • Blue Stained Hardened Clay 159:11
  • Brown Stained Hardened Clay 159:12
  • Green Stained Hardened Clay 159:13
  • Red Stained Hardened Clay 159:14
  • Black Stained Hardened Clay 159:15
  • Stained Glass Pane 160
  • Leaves 161
  • Wood 162
  • Acacia Wood Stairs 163
  • Dark Oak Wood Stairs 164
  • Hay Bale 170
  • White Carpet 171
  • Orange Carpet 171:1
  • Magenta Carpet 171:2
  • Light Blue Carpet 171:3
  • Yellow Carpet 171:4
  • Lime Carpet 171:5
  • Pink Carpet 171:6
  • Gray Carpet 171:7
  • Silver Carpet 171:8
  • Cyan Carpet 171:9
  • Purple Carpet 171:10
  • Blue Carpet 171:11
  • Brown Carpet 171:12
  • Green Carpet 171:13
  • Red Carpet 171:14
  • Black Carpet 171:15
  • Hardened Clay 172
  • Block of Coal 173
  • Packed Ice 174
  • Large Flowers 175
  • Iron Shovel 256
  • Iron Pickaxe 257
  • Iron Axe 258
  • Flint and Steel 259
  • Apple 260
  • Bow 261
  • Arrow 262
  • Coal 263
  • Charcoal 263:1
  • Diamond 264
  • Iron Ingot 265
  • Gold Ingot 266
  • Iron Sword 267
  • Wooden Sword 268
  • Wooden Shovel 269
  • Wooden Pickaxe 270
  • Wooden Axe 271
  • Stone Sword 272
  • Stone Shovel 273
  • Stone Pickaxe 274
  • Stone Axe 275
  • Diamond Sword 276
  • Diamond Shovel 277
  • Diamond Pickaxe 278
  • Diamond Axe 279
  • Stick 280
  • Bowl 281
  • Mushroom Stew 282
  • Golden Sword 283
  • Golden Shovel 284
  • Golden Pickaxe 285
  • Golden Axe 286
  • String 287
  • Feather 288
  • Gunpowder 289
  • Wooden Hoe 290
  • Stone Hoe 291
  • Iron Hoe 292
  • Diamond Hoe 293
  • Golden Hoe 294
  • Seeds 295
  • Wheat 296
  • Bread 297
  • Leather Cap 298
  • Leather Tunic 299
  • Leather Pants 300
  • Leather Boots 301
  • Chain Helmet 302
  • Chain Chestplate 303
  • Chain Leggings 304
  • Chain Boots 305
  • Iron Helmet 306
  • Iron Chestplate 307
  • Iron Leggings 308
  • Iron Boots 309
  • Diamond Helmet 310
  • Diamond Chestplate 311
  • Diamond Leggings 312
  • Diamond Boots 313
  • Golden Helmet 314
  • Golden Chestplate 315
  • Golden Leggings 316
  • Golden Boots 317
  • Flint 318
  • Raw Porkchop 319
  • Cooked Porkchop 320
  • Painting 321
  • Golden Apple 322
  • Sign 323
  • Oak Door 324
  • Bucket 325
  • Water Bucket 326
  • Lava Bucket 327
  • Minecart 328
  • Saddle 329
  • Iron Door 330
  • Redstone 331
  • Snowball 332
  • Boat 333
  • Leather 334
  • Milk 335
  • Brick 336
  • Clay 337
  • Sugar Canes 338
  • Paper 339
  • Book 340
  • Slimeball 341
  • Minecart with Chest 342
  • Minecart with Furnace 343
  • Egg 344
  • Compass 345
  • Fishing Rod 346
  • Clock 347
  • Glowstone Dust 348
  • Fish 349
  • Cooked Fish 350
  • Ink Sac 351
  • Rose Red 351:1
  • Cactus Green 351:2
  • Cocoa Beans 351:3
  • Lapis Lazuli 351:4
  • Purple Dye 351:5
  • Cyan Dye 351:6
  • Light Gray Dye 351:7
  • Gray Dye 351:8
  • Pink Dye 351:9
  • Lime Dye 351:10
  • Dandelion Yellow 351:11
  • Light Blue Dye 351:12
  • Magenta Dye 351:13
  • Orange Dye 351:14
  • Bone Meal 351:15
  • Bone 352
  • Sugar 353
  • Cake 354
  • Bed 355
  • Redstone Repeater 356
  • Cookie 357
  • Map 358
  • Shears 359
  • Melon 360
  • Pumpkin Seeds 361
  • Melon Seeds 362
  • Raw Beef 363
  • Steak 364
  • Raw Chicken 365
  • Cooked Chicken 366
  • Rotten Flesh 367
  • Ender Pearl 368
  • Blaze Rod 369
  • Ghast Tear 370
  • Gold Nugget 371
  • Nether Wart 372
  • Potion 373
  • Glass Bottle 374
  • Spider Eye 375
  • Fermented Spider Eye 376
  • Blaze Powder 377
  • Magma Cream 378
  • Brewing Stand 379
  • Cauldron 380
  • Eye of Ender 381
  • Glistering Melon 382
  • Spawn Egg 383
  • Bottle o' Enchanting 384
  • Fire Charge 385
  • Book and Quill 386
  • Written Book 387
  • Emerald 388
  • Item Frame 389
  • Flower Pot 390
  • Carrot 391
  • Potato 392
  • Baked Potato 393
  • Poisonous Potato 394
  • Empty Map 395
  • Golden Carrot 396
  • Skeleton Skull 397
  • Wither Skeleton Skull 397:1
  • Zombie Head 397:2
  • Creeper Head 397:4
  • Carrot on a Stick 398
  • Nether Star 399
  • Pumpkin Pie 400
  • Firework Rocket 401
  • Firework Star 402
  • Enchanted Book 403
  • Redstone Comparator 404
  • Nether Brick 405
  • Nether Quartz 406
  • Minecart with TNT 407
  • Minecart with Hopper 408
  • Iron Horse Armor 417
  • Gold Horse Armor 418
  • Diamond Horse Armor 419
  • Lead 420
  • Name Tag 421
  • Minecart with Command Block 422
  • Banner 425
  • 13 Disc 2256
  • Cat Disc 2257
  • Blocks Disc 2258
  • Chirp Disc 2259
  • Far Disc 2260
  • Mall Disc 2261
  • Mellohi Disc 2262
  • Stal Disc 2263
  • Strad Disc 2264
  • Ward Disc 2265
  • 11 Disc 2266
  • Wait Disc 2267

F.A.Q.

  • What is a Minecraft item ID?

    Every item and block in Minecraft has an internal identifier the game uses in commands, data packs and save files. Modern versions use a namespaced name such as minecraft:diamond_sword. Versions before 1.7.2 used a number instead, like 276.

  • What is the difference between item IDs, legacy IDs and data values?

    There are three formats. The namespaced ID minecraft:oak_planks) is what every version from 1.7.2 onward uses. The numeric ID 5) is what 1.6.4 and earlier used. Data values are the number after a colon 5:1) that separated variants of the same block before the 1.13 flattening, when every variant became its own ID.

  • How do I use an item ID in the /give command?

    On 1.13 and later the syntax is /give <target> <item> [count], so /give @s minecraft:diamond_sword 1. Pick an item above and the command is built for you, including the count and any data value the version needs.

  • Why does the command change when I pick an older version?

    Because the syntax genuinely changed several times. Item names arrived in 1.7.2, @p and the other target selectors in 1.4.4, @s in 1.12, and commands were not available in single player at all until 1.3.1. Choosing 1.0 gives you the numeric ID and a player name, because that is the only form the game would have accepted.

  • Do numeric item IDs still work?

    Not in commands. Numeric IDs were deprecated in 1.7 and removed entirely in the 1.13 flattening. They are still useful for reading old worlds, following pre-1.13 guides and working with older modpacks, which is why they are listed here.

  • Does this cover modded items or Bedrock Edition?

    No, this list is vanilla Java Edition. Mods register their own IDs under their own namespace, such as create:cogwheel, and Bedrock uses a separate set of identifiers.

  • How do I run these commands on my server?

    You need operator permissions, and cheats enabled if you are in single player. On a Nodecraft server you can run the command from the console or in game once you have opped yourself.

Build your own inventory

Make yourself OP, give yourself a full set of diamond and more with your own Minecraft server, from one easy-to-use control panel.

Start Free Trial