Pular para o conteúdo principal
MC COMMANDS logoMC COMMANDS
GUIA DO CONSTRUTOR

Comandos do Minecraft para Construção.

Domine coordenadas e estruturas. Preencha, clone e substitua blocos instantaneamente.

REFERENCE GUIDE

Syntax and coordinates reference.

A quick reference cheat sheet explaining target selectors, absolute coordinate grids, relative offsets, and local direction-facing grids.

Target Selectors

Minecraft uses shorthand variables called "target selectors" to target specific players or entities without writing full usernames.

@p

Nearest Player

Targets the single player closest to where the command is executed.

@a

All Players

Targets every online player in the current dimension/world.

@r

Random Player

Targets one random player (commonly used in minigames/lobbies).

@e

All Entities

Targets all living things, including players, mobs, dropped items, and item frames.

@s

Self (Executor)

Targets the entity currently running the command (useful in command blocks and chat).

Coordinate systems

Minecraft locations use a 3D grid layout represented as X Y Z coordinates (East/West, Altitude, North/South).

X Y Z

Absolute Coordinates

Specifies an exact point on the world map. 100 64 -250 means block X=100 (East), Y=64 (Sea Level elevation), Z=-250 (North).

~ ~ ~

Relative Coordinates (Tilde)

Specifies block offsets relative to the execution origin. E.g., ~ ~5 ~ represents exactly 5 blocks directly above where the command runs.

^ ^ ^

Local Coordinates (Caret)

Specifies block offsets relative to where the executing entity is currently looking (Left/Right, Up/Down, Forward/Backward). E.g., ^ ^ ^5 is 5 blocks directly in front of the executor's face.

AxisPositive Value (+)Negative Value (-)
X AxisEastward displacementWestward displacement
Y AxisUpward altitude (Sky)Downward altitude (Void)
Z AxisSouthward displacementNorthward displacement
BUILDING COMMAND DIRECTORY

Filtered building codes list

DIRETÓRIO DE COMANDOS

Pesquise e filtre comandos.

Itens e InventárioUniversalJava 1.21.x • Bedrock 1.21.x

Dá um item a um ou mais jogadores, com quantidade opcional, dados e componentes.

Java Edition/give <targets> <item>[<components>] [<count>]
Bedrock Edition/give <player> <itemName> [amount] [data] [components]
Gestão de JogadoresUniversalJava 1.21.x • Bedrock 1.21.x

Teleporta entidades (jogadores, monstros) para coordenadas ou para outra entidade.

/tp <targets> <destination> | /tp <targets> <x> <y> <z> [<yRot> <xRot>]
Gestão de JogadoresUniversalJava 1.21.x • Bedrock 1.21.x

Altera o modo de jogo de um jogador (Sobrevivência, Criativo, Aventura ou Espectador).

/gamemode <mode> [<target>]
Entidades e SpawningUniversalJava 1.21.x • Bedrock 1.21.x

Invoca uma entidade (monstro, projétil, suporte de armadura) nas coordenadas.

Java Edition/summon <entity> [<pos>] [<nbt>]
Bedrock Edition/summon <entityType> [<spawnPos>] [<spawnEvent>] [<nameTag>]
Mundo e AmbienteUniversalJava 1.21.x • Bedrock 1.21.x

Define ou verifica regras de jogo (como keepInventory, mobGriefing, doDaylightCycle).

/gamerule <rule> [<value>]
Gestão de JogadoresUniversalJava 1.21.x • Bedrock 1.21.x

Aplica ou remove efeitos de status (velocidade, força, veneno) em entidades.

Java Edition/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]
Bedrock Edition/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear
Avançado e DevUniversalJava 1.21.x • Bedrock 1.21.x

Executa comandos em nome de entidades com condições lógicas avançadas.

Java Edition/execute <subcommands...> run <command>
Bedrock Edition/execute <subcommands...> run <command>
Mundo e AmbienteUniversalJava 1.21.x • Bedrock 1.21.x

Encontra a estrutura, bioma ou ponto de interesse mais próximo e imprime as coordenadas no chat.

Java Edition/locate structure <structureID> | /locate biome <biomeID> | /locate poi <poiID>
Bedrock Edition/locate structure <structureType> | /locate biome <biome>
Mundo e AmbienteUniversalJava 1.21.x • Bedrock 1.21.x

Preenche uma área cúbica inteira com um tipo de bloco específico.

Java Edition/fill <from> <to> <block>[<states>] [destroy|hollow|keep|outline|replace] [<filter>]
Bedrock Edition/fill <from> <to> <tileName> [tileData|blockStates] [replace|destroy|hollow|keep|outline] [<replaceTileName>]
Mundo e AmbienteUniversalJava 1.21.x • Bedrock 1.21.x

Changes a single block at specified coordinates to a new block type, with optional block state properties and replacement modes.

Java Edition/setblock <pos> <block>[<states>] [destroy|keep|replace]
Bedrock Edition/setblock <position> <tileName> [tileData|blockStates] [replace|destroy|keep]
Mundo e AmbienteUniversalJava 1.21.x • Bedrock 1.21.x

Duplicates or moves all blocks from a source bounding box to a destination coordinate, supporting masking filters and overlap modes.

Java Edition/clone <begin> <end> <destination> [filtered|masked|replace] [force|move|normal] [<filter>]
Bedrock Edition/clone <begin> <end> <destination> [maskMode] [cloneMode] [tileName] [tileData]
Avançado e DevJavaJava 1.21.x

Inspects, modifies, merges, or removes NBT data on block entities, non-player entities, and persistent command storage.

Java Edition/data get (block|entity|storage) ... | /data merge (block|entity|storage) ... | /data modify (block|entity|storage) ... | /data remove (block|entity|storage) ...
Avançado e DevUniversalJava 1.21.x • Bedrock 1.21.x

Tracks, modifies, and displays custom objectives, player scores, timers, and statistics for game logic, economy, and leaderboard systems.

Java Edition/scoreboard objectives (add|remove|list|setdisplay|modify) ... | /scoreboard players (add|set|remove|reset|get|list|operation|enable) ...
Bedrock Edition/scoreboard objectives (add|remove|list|setdisplay) ... | /scoreboard players (add|set|remove|reset|list|operation|random) ...
Gestão de JogadoresBedrockBedrock 1.21.x

Aplica um efeito de tremor de tela aos jogadores, útil para cinemáticas ou mapas personalizados.

Bedrock Edition/camerashake add <players> [intensity] [seconds] [shakeType] | /camerashake stop [players]
Mundo e AmbienteBedrockBedrock 1.21.x

Cria, lista ou remove áreas de marcação, forçando o jogo a simular chunks mesmo quando nenhum jogador está próximo.

Bedrock Edition/tickingarea add <fromX> <fromY> <fromZ> <toX> <toY> <toZ> [name] | /tickingarea add circle <x> <y> <z> <radius> [name] | /tickingarea remove <name|pos>
Mundo e AmbienteJavaJava 1.21.x

Força os chunks a serem carregados e simulados constantemente, mesmo sem jogadores próximos. Equivalente às áreas de marcação.

Java Edition/forceload add <fromX> <fromZ> [<toX> <toZ>] | /forceload remove <fromX> <fromZ> [<toX> <toZ>] | /forceload query [<pos>]
Mundo e AmbienteJavaJava 1.21.x

Controla os limites e o tamanho da barreira do mundo.

Java Edition/worldborder set <size> [<time>] | /worldborder center <x> <z> | /worldborder damage <buffer|amount>
Gestão de JogadoresBedrockBedrock 1.21.x

Define habilidades do personagem (como permissões de Construtor de Mundo, voo ou silêncio) em um jogador.

Bedrock Edition/ability <player> <ability> [value: Boolean]
Avançado e DevBedrockBedrock 1.21.x

Ativa telas de diálogo ou força um NPC a exibir uma ramificação de diálogo aos jogadores.

Bedrock Edition/dialogue open <npc> <player> [sceneName] | /dialogue change <npc> <sceneName> [targets]
Avançado e DevJavaJava 1.21.x

Cria e personaliza barras de chefe flutuantes no topo da tela.

Java Edition/bossbar add <id> <name> | /bossbar set <id> <option> <value> | /bossbar remove <id>
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador uma Espada de Netherita ultra potente com encantamentos de nível 255/10.

Java Edition/give <targets> netherite_sword[enchantments={levels:{"minecraft:sharpness":255,"minecraft:fire_aspect":10,"minecraft:looting":10,"minecraft:unbreaking":255,"minecraft:mending":1,"minecraft:sweeping_edge":3,"minecraft:knockback":5}}] [<count>]
Bedrock Edition/give <player> netherite_sword [amount]
OP e CheatsJavaJava 1.21.x

Dá ao jogador um bastão com Repulsão nível 10.000, lançando alvos voando para longe.

Java Edition/give <targets> stick[enchantments={levels:{"minecraft:knockback":10000}}] [<count>]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador um Peitoral de Netherita com Proteção nível 255 e Espinhos 10, tornando o portador praticamente invencível.

Java Edition/give <targets> netherite_chestplate[enchantments={levels:{"minecraft:protection":255,"minecraft:unbreaking":255,"minecraft:mending":1,"minecraft:thorns":10}}] [<count>]
Bedrock Edition/give <player> netherite_chestplate [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador uma Picareta de Netherita com Eficiência nível 255, quebrando blocos instantaneamente.

Java Edition/give <targets> netherite_pickaxe[enchantments={levels:{"minecraft:efficiency":255,"minecraft:fortune":10,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_pickaxe [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador um Arco com Poder nível 255, Soco nível 10, Chama e Infinito.

Java Edition/give <targets> bow[enchantments={levels:{"minecraft:power":255,"minecraft:punch":10,"minecraft:flame":1,"minecraft:infinity":1,"minecraft:unbreaking":255}}] [<count>]
Bedrock Edition/give <player> bow [amount]
OP e CheatsJavaJava 1.21.x

Dá ao jogador uma pilha de biscoitos personalizados que concedem Força nível 255 e Resistência nível 255 por um minuto.

Java Edition/give <targets> cookie[food={nutrition:20,saturation:20,effects:[{effect:{id:"minecraft:strength",amplifier:255,duration:1200}},{effect:{id:"minecraft:resistance",amplifier:255,duration:1200}}]}] [<count>]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador um Machado de Netherita com Eficiência nível 255, Fio nível 255, Saque nível 10, Irrompível nível 255 e Reparo.

Java Edition/give <targets> netherite_axe[enchantments={levels:{"minecraft:efficiency":255,"minecraft:sharpness":255,"minecraft:looting":10,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_axe [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador um Capacete de Netherita com Proteção nível 255, Respiração nível 3, Afinidade Aquática e Irrompível nível 255.

Java Edition/give <targets> netherite_helmet[enchantments={levels:{"minecraft:protection":255,"minecraft:respiration":3,"minecraft:aqua_affinity":1,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_helmet [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador Calças de Netherita com Proteção nível 255, Furtividade Rápida nível 3, Irrompível nível 255 e Reparo.

Java Edition/give <targets> netherite_leggings[enchantments={levels:{"minecraft:protection":255,"minecraft:swift_sneak":3,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_leggings [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador Botas de Netherita com Proteção nível 255, Queda Pluma nível 255, Andar das Profundezas nível 3, Velocidade da Alma nível 3, Irrompível nível 255 e Reparo.

Java Edition/give <targets> netherite_boots[enchantments={levels:{"minecraft:protection":255,"minecraft:feather_falling":255,"minecraft:depth_strider":3,"minecraft:soul_speed":3,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> netherite_boots [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador um Tridente com Perfuração nível 255, Lealdade nível 10, Canalização, Irrompível nível 255 e Reparo.

Java Edition/give <targets> trident[enchantments={levels:{"minecraft:impaling":255,"minecraft:loyalty":10,"minecraft:channeling":1,"minecraft:unbreaking":255,"minecraft:mending":1}}] [<count>]
Bedrock Edition/give <player> trident [amount]
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Dá ao jogador uma poção Elixir OP que concede Força 255, Resistência 255, Regeneração 255, Velocidade 10, Rapidez 10 e mais por 10 minutos.

Java Edition/give <targets> potion[potion_contents={custom_effects:[{id:"minecraft:speed",amplifier:9,duration:12000},{id:"minecraft:haste",amplifier:9,duration:12000},{id:"minecraft:strength",amplifier:255,duration:12000},{id:"minecraft:regeneration",amplifier:255,duration:12000},{id:"minecraft:resistance",amplifier:255,duration:12000},{id:"minecraft:fire_resistance",duration:12000},{id:"minecraft:water_breathing",duration:12000},{id:"minecraft:night_vision",duration:12000}],custom_name:'{"text":"OP God Elixir","color":"gold","bold":true}'}] [<count>]
Bedrock Edition/give <player> potion [amount]
Servidor e UtilidadesUniversalJava 1.21.x • Bedrock 1.21.x

Gerencia a lista branca de jogadores do servidor, permitindo apenas jogadores aprovados para entrar.

/whitelist <add|remove> <player> | /whitelist <on|off|list|reload>
Servidor e UtilidadesUniversalJava 1.21.x • Bedrock 1.21.x

Desconecta um jogador especificado do servidor imediatamente, exibindo opcionalmente um motivo.

/kick <player> [reason]
Servidor e UtilidadesUniversalJava 1.21.x • Bedrock 1.21.x

Adiciona um jogador à lista negra do servidor, impedindo-o de reconectar.

/ban <player> [reason]
Servidor e UtilidadesUniversalJava 1.21.x • Bedrock 1.21.x

Remove um jogador da lista de ban do servidor, permitindo que ele entre novamente.

/pardon <player>
Avançado e DevUniversalJava 1.21.x • Bedrock 1.21.x

Recarrega todos os pacotes de dados, funções, avanços e tabelas de saque do disco.

/reload
Avançado e DevJavaJava 1.21.x

Controla a taxa de ticks e o fluxo do servidor, permitindo que desenvolvedores congelem, avancem passo a passo ou acelerem a execução do jogo.

Java Edition/tick rate <rate> | /tick freeze | /tick step <time> | /tick query
Avançado e DevJavaJava 1.21.x

Inicia ou para o registro de métricas de desempenho, gerando um relatório ZIP de diagnóstico na pasta de depuração do servidor.

Java Edition/perf start | /perf stop
Avançado e DevJavaJava 1.21.x

Gerencia os pacotes de dados carregados do servidor, permitindo que criadores ativen, desativem e reordene dinamicamente.

Java Edition/datapack enable <name> [first|last|before|after] | /datapack disable <name> | /datapack list
Servidor e UtilidadesUniversalJava 1.21.x • Bedrock 1.21.x

Força o servidor a salvar todos os chunks pendentes, perfis de jogadores e dados do mundo imediatamente no disco.

/save-all [flush]
Avançado e DevUniversalJava 1.21.x • Bedrock 1.21.x

Executa um arquivo de função (.mcfunction) contendo uma sequência de comandos em um único tick do jogo.

/function <name>
OP e CheatsUniversalJava 1.21.x • Bedrock 1.21.x

Gera armas, armaduras, ferramentas e elixires OP ultra poderosos de nível Deus 32k.

Java Edition/give <targets> <item>[enchantments={levels:{...}}] [<count>]
Bedrock Edition/give <player> <itemName> [amount]
Advertisement