Salta al contenuto principale
MC COMMANDS logoMC COMMANDS
Riferimento del Comando

Minecraft /gamerule Command

worldEdizione JavaEdizione Bedrock

Imposta o verifica regole del gioco (come keepInventory, mobGriefing, doDaylightCycle).

Compatibilità Versioni

Edizione Java:1.21.4 (1.13+)
Edizione Bedrock:1.21.60

Sintassi del Comando

Entrambe le Edizioni/gamerule <rule> [<value>]

Argomenti Spiegati

Esempi Pratici

/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

Note Importanti

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

Pronto a creare il tuo comando?

Usa il nostro generatore interattivo per creare comandi /gamerule senza errori con un'interfaccia visuale.

Apri il Generatore di Comandi
Advertisement