Developer Tools
Minecraft Command Generator
Generate Java/Bedrock-compatible commands for /give, /summon, /effect, /tellraw, /execute and more.
The command is longer than 256 characters; it won't fit in chat, use a command block.
How to use
Command syntax differs between Java and Bedrock and between versions. The tool offers only parameters that are valid for your chosen platform and version, validates your input and won't generate commands for unsupported combinations. Item, entity, effect and enchantment lists come from our Wiki database.
- Choose the platform and version.
- Choose a command type and fill in the form.
- Check the explanation and copy the command; use it in chat with /, or directly in a command block.
Frequently Asked Questions
Do I need a / at the start in a command block?
The leading slash is optional in a command block and required in chat. The tool outputs the command with /, which works in both.
@p, @a, @s ve @e ne demek?
@p is the nearest player, @a all players, @s the entity running the command, @e all entities and @r a random player. You can add filters with square brackets: @e[type=zombie,distance=..10].
What's the difference between ~ and ^ coordinates?
~ is relative (to the position of whoever runs the command). ^ is local and uses left/up/forward axes based on where you're facing.
Can I use commands in a world with cheats off?
No. You need to enable cheats in a single-player world (which disables achievements on Bedrock) or have operator (op) permissions on a server.