Minecraft Random Block Generator
Pick a random block from every block in the version you play, Java or Bedrock. Roll one block or several at once, keep to blocks you can hold or get in survival, and copy each block's ID and a ready command.
Tool added 26 Oct 2026 · Java 1.0 to 26.3 and Bedrock 1.19.30 to 1.26.60
Java 26.3, the newest version
Your random block
-
Exposed Copper TrapdoorID
minecraft:exposed_copper_trapdoorGive it
/give @p minecraft:exposed_copper_trapdoor
How it picks. Every block in the pool has the same chance, and one roll never shows the same
block twice. Blocks you can hold are the ones with an item form, so /give can give them. Turn
that off to add the rest, such as crops and portal blocks, which exist only as placed blocks. Tick "Only
blocks you can get in survival" to leave out blocks a survival player can never collect, such as command
blocks and bedrock. Blocks that need an experimental toggle are left out unless you add them.
How to use the random block generator
Pick how many blocks you want and press Generate. Each roll draws from every block in the edition and version chosen at the top of the page, so a block only turns up if your game has it. Press Generate again for a new roll, or copy the whole list to share it.
A random block makes a quick challenge: build something that uses it, find it in survival, or collect each block on the list before a friend does. Rolling several at once gives a palette to build with, and is a good way to find blocks you have never used.
Blocks you can hold
Most blocks have an item form: you can carry them, place them and get them with /give. Some
exist only as placed blocks, such as crops, portals and fire, and a few share an ID with an item that is not
the block, like wheat, where the wheat item is the harvest and seeds plant the crop. With "Only blocks you can
hold" ticked, the generator leaves all of these out. Untick it to roll from every block the version has; for
a block with no item form, the command shown places it with /setblock where your version has
that command.
Blocks you can get in survival
Some blocks can be held but never collected without commands or creative mode: command blocks, barriers, structure blocks, bedrock, end portal frames, budding amethyst, reinforced deepslate and infested stone among them. These are marked "Creative only". Tick "Only blocks you can get in survival" for a roll a survival player can actually collect, whether by mining, Silk Touch, shears, crafting, trading, fishing, loot chests or mob drops. The list follows the chosen version, so a block counts only from the version where survival players could first get it.
Getting the block in game
Copy the command next to a block and paste it into chat with cheats on. /give @p minecraft:oak_planks
gives the nearest player one block of oak planks, and a number after the ID gives more. The
minecraft: part can be left off. The full list of IDs for your version, with each block's states,
is in the Minecraft block ID list.
Older versions
Pick any Java version back to 1.0, or any Bedrock version back to 1.19.30, and the generator rolls from that
version's blocks. Before Java 1.13, blocks had numbers and their variants a data value, so red wool was
35:14; in those versions each variant is its own pick, and the command is written the way that
version wrote it. The earliest versions had no commands at all, so their picks come with none.
Experimental blocks
Some versions include blocks from an upcoming update behind an experimental toggle, which only work in a world created with that toggle on. When the chosen version has any, "Include experimental blocks" appears under the count, and those blocks are marked with the toggle they need.
Update history
Every change to this tool
- Tool added