Minecraft Block Compendium
Search every Java block by name or ID and copy a ready /setblock or /give command. The list comes from the official Java 26.3 server data (1,270 blocks), with the number of block states and the tags each block belongs to.
| Block | ID | States | Tags | Copy commands |
|---|---|---|---|---|
| Acacia Button | minecraft:acacia_button | 24 | mineable/axe, buttons | |
| Acacia Door | minecraft:acacia_door | 64 | doors, mineable/axe | |
| Acacia Fence | minecraft:acacia_fence | 32 | fences, mineable/axe | |
| Acacia Fence Gate | minecraft:acacia_fence_gate | 32 | mineable/axe | |
| Acacia Hanging Sign | minecraft:acacia_hanging_sign | 64 | mineable/axe | |
| Acacia Leaves | minecraft:acacia_leaves | 28 | leaves, mineable/hoe | |
| Acacia Log | minecraft:acacia_log | 3 | logs, mineable/axe | |
| Acacia Planks | minecraft:acacia_planks | 1 | planks, mineable/axe | |
| Acacia Pressure Plate | minecraft:acacia_pressure_plate | 2 | mineable/axe, pressure_plates | |
| Acacia Sapling | minecraft:acacia_sapling | 2 | saplings | |
| Acacia Shelf | minecraft:acacia_shelf | 64 | mineable/axe | |
| Acacia Sign | minecraft:acacia_sign | 32 | mineable/axe, signs | |
| Acacia Slab | minecraft:acacia_slab | 6 | slabs, mineable/axe | |
| Acacia Stairs | minecraft:acacia_stairs | 80 | stairs, mineable/axe | |
| Acacia Trapdoor | minecraft:acacia_trapdoor | 64 | trapdoors, mineable/axe | |
| Acacia Wall Hanging Sign | minecraft:acacia_wall_hanging_sign | 8 | mineable/axe | |
| Acacia Wall Sign | minecraft:acacia_wall_sign | 8 | mineable/axe, signs | |
| Acacia Wood | minecraft:acacia_wood | 3 | logs, mineable/axe | |
| Activator Rail | minecraft:activator_rail | 24 | mineable/pickaxe | |
| Air | minecraft:air | 1 | replaceable | |
| Allium | minecraft:allium | 1 | flowers | |
| Amethyst Cluster | minecraft:amethyst_cluster | 12 | mineable/pickaxe | |
| Ancient Debris | minecraft:ancient_debris | 1 | mineable/pickaxe, needs_diamond_tool | |
| Andesite | minecraft:andesite | 1 | mineable/pickaxe, base_stone_overworld | |
| Andesite Slab | minecraft:andesite_slab | 6 | slabs, mineable/pickaxe | |
| Andesite Stairs | minecraft:andesite_stairs | 80 | stairs, mineable/pickaxe | |
| Andesite Wall | minecraft:andesite_wall | 324 | walls, mineable/pickaxe | |
| Anvil | minecraft:anvil | 4 | mineable/pickaxe | |
| Attached Melon Stem | minecraft:attached_melon_stem | 4 | ||
| Attached Pumpkin Stem | minecraft:attached_pumpkin_stem | 4 | ||
| Azalea | minecraft:azalea | 1 | saplings | |
| Azalea Leaves | minecraft:azalea_leaves | 28 | leaves, mineable/hoe | |
| Azure Bluet | minecraft:azure_bluet | 1 | flowers | |
| Bamboo | minecraft:bamboo | 12 | mineable/axe | |
| Bamboo Button | minecraft:bamboo_button | 24 | mineable/axe, buttons | |
| Bamboo Door | minecraft:bamboo_door | 64 | doors, mineable/axe | |
| Bamboo Fence | minecraft:bamboo_fence | 32 | fences, mineable/axe | |
| Bamboo Fence Gate | minecraft:bamboo_fence_gate | 32 | mineable/axe | |
| Bamboo Hanging Sign | minecraft:bamboo_hanging_sign | 64 | mineable/axe | |
| Bamboo Mosaic | minecraft:bamboo_mosaic | 1 | mineable/axe | |
| Bamboo Mosaic Slab | minecraft:bamboo_mosaic_slab | 6 | slabs, mineable/axe | |
| Bamboo Mosaic Stairs | minecraft:bamboo_mosaic_stairs | 80 | stairs, mineable/axe | |
| Bamboo Planks | minecraft:bamboo_planks | 1 | planks, mineable/axe | |
| Bamboo Pressure Plate | minecraft:bamboo_pressure_plate | 2 | mineable/axe, pressure_plates | |
| Bamboo Shelf | minecraft:bamboo_shelf | 64 | mineable/axe | |
| Bamboo Shoot | minecraft:bamboo_sapling | 1 | ||
| Bamboo Sign | minecraft:bamboo_sign | 32 | mineable/axe, signs | |
| Bamboo Slab | minecraft:bamboo_slab | 6 | slabs, mineable/axe | |
| Bamboo Stairs | minecraft:bamboo_stairs | 80 | stairs, mineable/axe | |
| Bamboo Trapdoor | minecraft:bamboo_trapdoor | 64 | trapdoors, mineable/axe | |
| Bamboo Wall Hanging Sign | minecraft:bamboo_wall_hanging_sign | 8 | mineable/axe | |
| Bamboo Wall Sign | minecraft:bamboo_wall_sign | 8 | mineable/axe, signs | |
| Barrel | minecraft:barrel | 12 | mineable/axe | |
| Barrier | minecraft:barrier | 2 | wither_immune, dragon_immune | |
| Basalt | minecraft:basalt | 3 | mineable/pickaxe | |
| Beacon | minecraft:beacon | 1 | ||
| Bedrock | minecraft:bedrock | 1 | wither_immune, dragon_immune | |
| Bee Nest | minecraft:bee_nest | 24 | mineable/axe | |
| Beehive | minecraft:beehive | 24 | mineable/axe | |
| Beetroots | minecraft:beetroots | 4 | crops | |
| Bell | minecraft:bell | 32 | mineable/pickaxe | |
| Big Dripleaf | minecraft:big_dripleaf | 32 | mineable/axe | |
| Big Dripleaf Stem | minecraft:big_dripleaf_stem | 8 | mineable/axe | |
| Birch Button | minecraft:birch_button | 24 | mineable/axe, buttons | |
| Birch Door | minecraft:birch_door | 64 | doors, mineable/axe | |
| Birch Fence | minecraft:birch_fence | 32 | fences, mineable/axe | |
| Birch Fence Gate | minecraft:birch_fence_gate | 32 | mineable/axe | |
| Birch Hanging Sign | minecraft:birch_hanging_sign | 64 | mineable/axe | |
| Birch Leaves | minecraft:birch_leaves | 28 | leaves, mineable/hoe | |
| Birch Log | minecraft:birch_log | 3 | logs, mineable/axe | |
| Birch Planks | minecraft:birch_planks | 1 | planks, mineable/axe | |
| Birch Pressure Plate | minecraft:birch_pressure_plate | 2 | mineable/axe, pressure_plates | |
| Birch Sapling | minecraft:birch_sapling | 2 | saplings | |
| Birch Shelf | minecraft:birch_shelf | 64 | mineable/axe | |
| Birch Sign | minecraft:birch_sign | 32 | mineable/axe, signs | |
| Birch Slab | minecraft:birch_slab | 6 | slabs, mineable/axe | |
| Birch Stairs | minecraft:birch_stairs | 80 | stairs, mineable/axe | |
| Birch Trapdoor | minecraft:birch_trapdoor | 64 | trapdoors, mineable/axe | |
| Birch Wall Hanging Sign | minecraft:birch_wall_hanging_sign | 8 | mineable/axe | |
| Birch Wall Sign | minecraft:birch_wall_sign | 8 | mineable/axe, signs |
How to use the block list
Search
Type a block name or part of an ID — for example copper, deepslate or stairs.
Filter by tag
Pick a group such as logs or blocks a pickaxe mines fastest to narrow the list.
Copy a command
Copy the ready /setblock or /give command and paste it in chat or a command block (cheats on).
What a block ID is
Every block has an ID such as minecraft:oak_planks. Commands use the ID, not the name you see in game. IDs are lowercase with underscores, and the minecraft: prefix is optional in most commands. Use the search to find the ID of a block by its in-game name in your language.
Block states
Many blocks come in several states: a door can be open or closed, a stair can face four ways, and redstone dust has a power level. The States column shows how many different states a block has in total. To place a specific state, add it in square brackets, for example /setblock ~ ~ ~ minecraft:oak_stairs[facing=east,half=top].
Tags
Tags group blocks that behave alike. #minecraft:logs holds every log, #minecraft:mineable/pickaxe holds the blocks a pickaxe breaks fastest and #minecraft:needs_iron_tool holds blocks that need at least an iron tool to drop. Datapacks and commands such as /execute if block ~ ~ ~ #minecraft:logs use these tags. Choose a group to see only its blocks.
Commands you can copy
/setblock places the block at your position, ~ ~ ~, and /give hands you the item. A few blocks have no item (for example fire or water), so /give will not work for them. Command blocks and the /fill command accept the same IDs.
Using block IDs with /fill
/fill places a block in a whole box between two corners: /fill <from> <to> <block> [mode].
| Mode | What it does |
|---|---|
| replace (default) | Replaces every block in the box, including air, without drops |
| destroy | Replaces everything and drops the old blocks as items |
| keep | Only fills air blocks |
| outline | Only changes the outer shell; the inside is untouched |
| hollow | Builds the outer shell and fills the inside with air |
Add replace <filter> to swap only one block type, for example /fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:stone_bricks replace minecraft:dirt. In Java the maximum box size is set by the max_block_modifications game rule (the old fixed limit was 32,768 blocks).
/setblock modes
/setblock <pos> <block> [mode] places one block:
- replace (default) — swaps the old block silently.
- destroy — breaks the old block as if a player mined it, so it drops.
- keep — only places the block if the spot is air.
Combine with block states: /setblock ~ ~1 ~ minecraft:lantern[hanging=true].
Common block tags
| Tag | Contains |
|---|---|
#minecraft:logs |
Every log and wood block |
#minecraft:planks |
Every plank type |
#minecraft:mineable/pickaxe |
Blocks a pickaxe breaks fastest |
#minecraft:mineable/axe |
Blocks an axe breaks fastest |
#minecraft:needs_iron_tool |
Blocks that need an iron tool or better to drop |
#minecraft:needs_diamond_tool |
Blocks that need a diamond tool or better |
The tag filter above lists every member from the 26.3 data, so you can check exactly which blocks a tag includes before you use it in a data pack.
Where the data comes from
We generated the list from the official Java Edition 26.3 server (its block report and block tags) and the game's own language files for the names. It covers Java Edition. Bedrock uses many of the same IDs but not all of them, so check the ID in game on Bedrock.
Frequently asked questions
How do I find a block ID in Minecraft?
Search its name here. The ID column shows the full ID, for example minecraft:deepslate. In game you can also press F3 + H to show item IDs in tooltips.
What is the difference between /setblock and /give?
/setblock places a block in the world. /give puts the block's item in your inventory.
What are block states?
Properties that change how a block looks or works, such as facing, open, waterlogged or age. The States column shows how many combinations a block has.
Are the IDs the same on Bedrock?
Many are, but not all. This list is the Java Edition list.
How many blocks are there in Minecraft?
The Java 26.3 data lists 1,270 blocks, including technical blocks such as air and command blocks.
How do I fill a big area with one block?
Use /fill with two corner coordinates, for example /fill ~ ~ ~ ~20 ~ ~20 minecraft:grass_block. Add hollow or outline for walls only.
How do I replace one block type with another?
Use /fill <from> <to> <new block> replace <old block>. Only blocks matching the old block change.
Why does /give not work for some blocks?
Some blocks have no item form, such as fire or water. Use /setblock to place them instead.