Generator
Bedrock Command Generator
Build any Bedrock Edition command. Every command and every form of it comes from Mojang's own command list for the version you pick, and the result is checked against that list as you type.
Bedrock EditionPlaying Java? Use the Java Command Generator.
Loading Bedrock 26.60…
How to use the Bedrock Command Generator
Build Bedrock Edition commands without memorising their syntax: /give with item components, /setblock and /fill with block states, /summon with spawn events, /tellraw and /titleraw messages, and every other command.
Quick steps
- 1Pick a command, then the form of it you want
- 2Fill in the values; lists only offer what this Bedrock version accepts
- 3Copy the command into chat or a command block
Example use cases
- Giving an adventure-mode tool that can only break certain blocks
- Placing a block facing the right way with block states
- Summoning a mob as a baby or other variant with its spawn event
Tips
In a command block, leave out the leading /
Only trailing values can be left out: when you set a later optional value, the earlier ones get the game's own default, or are marked for you to fill in
Frequently asked questions
Do Java commands work on Bedrock?
Many have the same name but not the same syntax. Bedrock has no NBT in commands: /give takes four item components instead, /summon takes a spawn event and a name, and /tellraw and /titleraw take a rawtext message. This generator builds each command from Bedrock's own command list, and marks the forms a real Bedrock server needed an experiment for.
How do I give an enchanted item on Bedrock?
In two steps, because Bedrock's /give cannot add enchantments. Give the item, have the player hold it, then run /enchant with the player, the enchantment and a level, for example /enchant @p sharpness 5. It enchants the item in their main hand, only up to that enchantment's normal maximum level, and not with an enchantment that clashes with one the item already has.
Where does the list of commands come from?
From Mojang's own Bedrock command data for the version you pick, so every command, every form of it and every choice in a list is one the game knows. The command you build is checked against that data as you type.
Why does a command need cheats?
Most Bedrock commands only run in a world with cheats switched on (Settings, then Game). Switching cheats on turns achievements off for that world for good, even if you switch them off again. Command blocks also need the commandblocksenabled game rule, which is on by default.