This is a curated reference of commonly-used block, item, and entity type IDs, not the complete game data set — the full registries run into the thousands and vary by game version.

How to Use the Block ID Browser

  1. Type a block’s display name (e.g. observer) or its category (e.g. redstone) into the search box to filter the table live.
  2. Copy the value from the Block ID column – it’s already in the exact minecraft:block_name form commands expect.
  3. Paste that ID into a command that takes a block argument, such as /setblock, /fill, or /give for the equivalent item.

Where Block IDs Are Used

Every block in Java Edition has a namespaced ID in the form minecraft:block_name (the minecraft: prefix can usually be omitted in commands, since it’s the default namespace, but it’s always valid to include it explicitly – and required if you’re referencing a custom block from a datapack or mod, which would use its own namespace instead). This is the exact string commands expect for a block argument – /setblock ~ ~ ~ minecraft:redstone_lamp, /fill ~ ~ ~ ~5 ~ ~5 minecraft:glass, or inside a datapack’s block-tag or loot-table JSON. It’s a different ID space from the block’s item form in most cases only in name – a block and its corresponding item usually share the same ID (minecraft:furnace is both the block and the item you get when you mine it), though some blocks have no direct item form at all (like minecraft:water) and some items have no placeable block form (like tools).

Frequently Asked Questions

Do I need the “minecraft:” prefix in commands?

No, it’s optional in vanilla commands since minecraft is the default namespace the game assumes when none is given – stone and minecraft:stone resolve to the same block. You do need the full namespaced form when a datapack or mod adds a block under its own namespace, e.g. mymod:custom_block.

Why do some blocks have the same ID as their item?

Most simple blocks share an ID between their placed-block form and their inventory-item form, since they’re really the same underlying registry entry viewed two ways. This breaks down for blocks with complex placed states that don’t map to a single item stack cleanly (like multi-part beds or doors) and for state-only blocks with no item at all, like fluids.

How do I find the ID for a block added by a mod?

This browser only lists vanilla Java Edition block IDs. A mod’s blocks use that mod’s own namespace instead of minecraft: – check the mod’s documentation, its JEI/REI tooltip (which typically shows the ID on advanced tooltips), or its datapack/resource files directly.

Can block IDs change between Minecraft versions?

Occasionally, yes – Mojang has renamed blocks across major updates (for example, several “stained hardened clay” style IDs became “terracotta” names, and slab/stair naming conventions have shifted over time). This list reflects current Java Edition 1.21+ naming; older worlds/datapacks may reference IDs that have since been renamed or removed.

Related Tools