Minecraft utilizes a complex identification system to manage the thousands of blocks, items, entities, and effects within the game. Whether you are a map maker, a server administrator, or a survival player looking to use the /give command, understanding how IDs work is essential.

In modern Minecraft (versions 1.13 and newer), numerical IDs like "1" for stone have been replaced by text-based identifiers known as Namespaced IDs (e.g., minecraft:stone). While these string IDs are more intuitive, the sheer volume of items makes having a comprehensive list and knowing how to find them in-game a vital skill for any creator.

Understanding the Modern Namespaced ID System

Since the "Flattening" update in Minecraft 1.13, the game moved away from the 0-255 numerical ID limit. The current system uses a specific format: namespace:item_name.

What is a Namespace?

The namespace identifies which "folder" or mod the item belongs to. For the base game, the namespace is always minecraft. For example, a diamond sword is identified as minecraft:diamond_sword. This prevents conflicts; if a mod adds a custom diamond sword, its ID might be modname:diamond_sword, allowing both to exist simultaneously without crashing the game.

Why Numbers are Obsolete

In older versions, you might remember that Stone was 1 and Granite was 1:1. These sub-IDs (metadata) were difficult to memorize and limited the game's expansion. String-based IDs are human-readable, easier to use in command blocks, and support an unlimited number of unique items.

How to View IDs Directly In-Game

You do not need to keep a website open to find specific IDs if you are playing Minecraft Java Edition. There is a built-in "Advanced Tooltips" feature that displays the Namespaced ID for every item in your inventory.

Enabling Advanced Tooltips

  1. Open your Minecraft world.
  2. Press F3 + H simultaneously on your keyboard.
  3. A chat message will appear: [Debug]: Advanced tooltips: shown.
  4. Open your inventory and hover your mouse over any item.
  5. Look at the bottom of the tooltip. You will see the technical ID, such as minecraft:netherite_pickaxe.

Using the Tab Completion Feature

When typing commands in the chat or a command block, you can use the Tab key to find IDs quickly.

  • Type /give @p mine... and then press Tab.
  • The game will cycle through every ID starting with those letters. This is often faster than searching an external list.

Comprehensive Minecraft Block ID List

The following list covers the most common building blocks and environment IDs used in modern versions of the game. These are the strings used for /setblock, /fill, and /give commands.

Natural Blocks

Item Name Namespaced ID
Grass Block minecraft:grass_block
Dirt minecraft:dirt
Coarse Dirt minecraft:coarse_dirt
Podzol minecraft:podzol
Stone minecraft:stone
Granite minecraft:granite
Polished Granite minecraft:polished_granite
Diorite minecraft:diorite
Polished Diorite minecraft:polished_diorite
Andesite minecraft:andesite
Polished Andesite minecraft:polished_andesite
Deepslate minecraft:deepslate
Cobbled Deepslate minecraft:cobbled_deepslate
Bedrock minecraft:bedrock
Sand minecraft:sand
Red Sand minecraft:red_sand
Gravel minecraft:gravel
Obsidian minecraft:obsidian
Crying Obsidian minecraft:crying_obsidian

Ores and Minerals

Item Name Namespaced ID
Coal Ore minecraft:coal_ore
Deepslate Coal Ore minecraft:deepslate_coal_ore
Iron Ore minecraft:iron_ore
Deepslate Iron Ore minecraft:deepslate_iron_ore
Copper Ore minecraft:copper_ore
Deepslate Copper Ore minecraft:deepslate_copper_ore
Gold Ore minecraft:gold_ore
Deepslate Gold Ore minecraft:deepslate_gold_ore
Redstone Ore minecraft:redstone_ore
Deepslate Redstone Ore minecraft:deepslate_redstone_ore
Lapis Lazuli Ore minecraft:lapis_ore
Deepslate Lapis Lazuli Ore minecraft:deepslate_lapis_ore
Diamond Ore minecraft:diamond_ore
Deepslate Diamond Ore minecraft:deepslate_diamond_ore
Emerald Ore minecraft:emerald_ore
Deepslate Emerald Ore minecraft:deepslate_emerald_ore
Nether Quartz Ore minecraft:nether_quartz_ore
Nether Gold Ore minecraft:nether_gold_ore
Ancient Debris minecraft:ancient_debris

Wood and Vegetation

Item Name Namespaced ID
Oak Log minecraft:oak_log
Spruce Log minecraft:spruce_log
Birch Log minecraft:birch_log
Jungle Log minecraft:jungle_log
Acacia Log minecraft:acacia_log
Dark Oak Log minecraft:dark_oak_log
Mangrove Log minecraft:mangrove_log
Cherry Log minecraft:cherry_log
Oak Planks minecraft:oak_planks
Spruce Planks minecraft:spruce_planks
Birch Planks minecraft:birch_planks
Crimson Stem minecraft:crimson_stem
Warped Stem minecraft:warped_stem
Oak Leaves minecraft:oak_leaves
Azalea Leaves minecraft:azalea_leaves

Minecraft Item and Tool ID List

These IDs are specifically for items that appear in the player's inventory, including weapons, food, and crafting materials.

Weapons and Armor

Item Name Namespaced ID
Netherite Sword minecraft:netherite_sword
Diamond Sword minecraft:diamond_sword
Iron Sword minecraft:iron_sword
Golden Sword minecraft:golden_sword
Stone Sword minecraft:stone_sword
Wooden Sword minecraft:wooden_sword
Bow minecraft:bow
Crossbow minecraft:crossbow
Shield minecraft:shield
Netherite Chestplate minecraft:netherite_chestplate
Diamond Helmet minecraft:diamond_helmet
Elytra minecraft:elytra

Tools and Utility

Item Name Namespaced ID
Netherite Pickaxe minecraft:netherite_pickaxe
Diamond Pickaxe minecraft:diamond_pickaxe
Iron Shovel minecraft:iron_shovel
Golden Axe minecraft:golden_axe
Fishing Rod minecraft:fishing_rod
Flint and Steel minecraft:flint_and_steel
Compass minecraft:compass
Recovery Compass minecraft:recovery_compass
Spyglass minecraft:spyglass
Clock minecraft:clock
Totem of Undying minecraft:totem_of_undying

Food and Consumables

Item Name Namespaced ID
Apple minecraft:apple
Golden Apple minecraft:golden_apple
Enchanted Golden Apple minecraft:enchanted_golden_apple
Cooked Beef minecraft:cooked_beef
Cooked Porkchop minecraft:cooked_porkchop
Bread minecraft:bread
Golden Carrot minecraft:golden_carrot
Potion minecraft:potion
Splash Potion minecraft:splash_potion
Lingering Potion minecraft:lingering_potion

Minecraft Entity ID List

Entities include mobs, players, and non-block objects like item frames or falling sand. Entity IDs are used primarily for the /summon command.

Entity Name Namespaced ID
Player minecraft:player
Zombie minecraft:zombie
Skeleton minecraft:skeleton
Creeper minecraft:creeper
Enderman minecraft:enderman
Spider minecraft:spider
Cave Spider minecraft:cave_spider
Witch minecraft:witch
Slime minecraft:slime
Ghast minecraft:ghast
Blaze minecraft:blaze
Wither minecraft:wither
Ender Dragon minecraft:ender_dragon
Warden minecraft:warden
Iron Golem minecraft:iron_golem
Villager minecraft:villager
Wandering Trader minecraft:wandering_trader
Pig minecraft:pig
Cow minecraft:cow
Sheep minecraft:sheep
Chicken minecraft:chicken
Horse minecraft:horse
Wolf minecraft:wolf
Cat minecraft:cat
Bee minecraft:bee
Axolotl minecraft:axolotl
Allay minecraft:allay
Sniffer minecraft:sniffer
Camel minecraft:camel
Armor Stand minecraft:armor_stand
End Crystal minecraft:end_crystal

Legacy Numerical IDs (Minecraft 1.12.2 and Older)

If you are playing on a "Legacy" version of the game, such as the original 1.8 or 1.12.2, Namespaced IDs will not work. These versions rely on the old integer system.

Note: If you are playing on a modern version (1.21+), ignore these numbers completely as they will result in command errors.

Block Name Numerical ID Metadata
Air 0 0
Stone 1 0
Granite 1 1
Polished Granite 1 2
Diorite 1 3
Grass Block 2 0
Dirt 3 0
Cobblestone 4 0
Oak Planks 5 0
Spruce Planks 5 1
Bedrock 7 0
Water 8 0
Lava 10 0
Sand 12 0
Log (Oak) 17 0
Wool (White) 35 0
Gold Block 41 0
Iron Block 42 0
TNT 46 0
Diamond Ore 56 0

Using IDs in Commands: Practical Examples

To effectively use the ID list provided above, you need to understand the syntax of common commands.

The Give Command

The most common use for an ID is giving yourself an item. Syntax: /give [player] [item_id] [amount] Example: To give yourself 64 diamonds: /give @s minecraft:diamond 64

The Setblock Command

Useful for building or creating traps. Syntax: /setblock [x] [y] [z] [block_id] Example: To place a block of TNT at your current feet position: /setblock ~ ~ ~ minecraft:tnt

The Summon Command

Used to spawn mobs or entities. Syntax: /summon [entity_id] [x] [y] [z] Example: To spawn a Creeper nearby: /summon minecraft:creeper ~ ~1 ~

The Fill Command

Ideal for clearing large areas or building walls. Syntax: /fill [x1] [y1] [z1] [x2] [y2] [z2] [block_id] Example: To fill a large area with air (effectively deleting it): /fill ~-10 ~ ~-10 ~10 ~10 ~10 minecraft:air

Differences Between Java and Bedrock Edition IDs

While Mojang has worked hard to synchronize IDs between the two main versions of Minecraft, some minor differences remain.

  1. Java Edition: Uses strictly Namespaced IDs. Advanced tooltips (F3+H) are available.
  2. Bedrock Edition: Uses similar string IDs, but also still utilizes some numerical data values for certain components in the backend. Commands in Bedrock often allow you to omit the minecraft: prefix (e.g., /give @s apple works just as well as /give @s minecraft:apple).

Troubleshooting Common ID Errors

If your command isn't working, check for these common mistakes:

  • Typing the Namespace Twice: Do not type minecraft:minecraft:stone.
  • Case Sensitivity: In most versions, IDs must be lowercase. minecraft:Diamond_Sword will fail; use minecraft:diamond_sword.
  • Version Mismatch: Ensure you aren't using a string ID in a 1.8 server, or a numerical ID in a 1.21 world.
  • Spaces vs. Underscores: Minecraft IDs never use spaces. Always use underscores (e.g., grass_block, not grass block).

Frequently Asked Questions (FAQ)

What happened to the ID for Granite/Diorite?

In modern Minecraft, Granite is no longer a variation of Stone (ID 1:1). It has its own unique ID: minecraft:granite. This applies to all blocks that previously shared a numerical ID.

Can I change the ID of a block?

No, base game IDs are hardcoded into Minecraft. However, if you are using mods, you can use configuration files to resolve ID conflicts if two mods attempt to use the same name, though the modern Registry system makes this rare.

How do I find IDs for modded items?

The easiest way is to install a utility mod like JEI (Just Enough Items). When JEI is installed, you can search for any item and see its technical ID in the sidebar. Alternatively, the F3+H method also works for modded items.

Is there a limit to how many IDs I can use?

For players, there is no practical limit. For developers, the modern system allows for millions of unique identifiers, far exceeding the old 256-block limit of legacy versions.

Summary

Navigating the Minecraft ID system is a fundamental skill for advanced gameplay. By moving from numerical values to the modern Namespaced ID system, Minecraft has become more stable and mod-friendly. Remember to use F3 + H to view IDs in-game and always use underscores instead of spaces. Whether you are summoning a Warden or filling a basement with air, having the right ID list ensures your commands work perfectly every time.