Pular para o conteúdo principal
MC COMMANDS logoMC COMMANDS
Referência do Comando

Minecraft /gamerule Command

worldEdição JavaEdição Bedrock

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

Compatibilidade de Versões

Edição Java:1.21.4 (1.13+)
Edição Bedrock:1.21.60

Sintaxe do Comando

Ambas as Edições/gamerule <rule> [<value>]

Argumentos Explicados

Exemplos Práticos

/gamerule keepInventory true

Prevents players from losing their inventory items when they die.

/gamerule doDaylightCycle false

Freezes the daylight cycle at its current time.

/gamerule randomTickSpeed 100

Speeds up block updates (e.g. crop growth, leaf decay) in Java (default is 3).

Advertisement

Notas Importantes

Be aware that some gamerules are exclusive. E.g. Bedrock has `commandBlocksEnabled` and `showCoordinates`, while Java has `playersSleepingPercentage` and `mobGriefing` behaves slightly differently.

Pronto para criar seu comando?

Use nosso gerador interativo para criar comandos /gamerule sem erros com uma interface visual.

Abrir Gerador de Comandos
Advertisement