Minecraft Command Generator
Generate Minecraft commands with a visual interface. Give, effect, enchant, summon, teleport, fill, and more. Copy and paste into chat.
/give @p minecraft:diamond_sword 1How to Use Minecraft Commands
Commands are entered in the chat window (press T or /) and require cheats enabled in singleplayer or operator permissions on servers.
Target Selectors
| Selector | Target |
|---|---|
@p | Nearest player |
@a | All players |
@s | Yourself (the command executor) |
@r | Random player |
@e | All entities (mobs, items, etc.) |
Coordinate Types
- Absolute:
100 64 -200— exact world position - Relative:
~5 ~ ~-3— offset from your position - Local:
^1 ^ ^5— offset from your facing direction
Quick Tip
Use
/give @p minecraft:command_block to get a command block, then place your generated commands inside it for automation. Chain command blocks together for complex sequences.