コマンドビルダー
Minecraft /gamerule Generator.
Sets or queries global gamerules. 以下の設定を調整して、正しいコマンド構文を即座に自動生成します。
リアルタイム出力
生成されたマイクラ構文
この出力をコピーして、マインクラフトのチャット欄(Tキー)またはコマンドブロックに貼り付けてください。
/give @s diamond 64
このコマンドの機能解説
ゲームルール **keepInventory** を **true** に設定します。
Documentation & Guide
About the /gamerule Generator
The /gamerule generator toggles world rules such as keepInventory, daylight cycle, mob griefing, fire spread, and tick speeds for survival, building, or mini-game maps.
How to Use This Generator
- Select the gamerule from the dropdown menu (e.g. keepInventory, doDaylightCycle).
- Set the desired value: true, false, or integer (for randomTickSpeed).
- Copy and execute in chat with cheats enabled.
Parameters & Options Explained
Rule Name
Case-sensitive gamerule string (e.g. keepInventory, doMobSpawning).
Value
Boolean true/false toggle or integer number.
Practical In-Game Example
Tested & Validated/gamerule keepInventory truePrevents players from losing items upon death in the world.
Java vs Bedrock Compatibility
Java Edition:Includes Java-specific rules like playersSleepingPercentage and maxCommandChainLength.
Bedrock Edition:Includes Bedrock-specific rules like showCoordinates and commandBlocksEnabled.
Important Limitations & Rules
- Gamerule names are strictly case-sensitive.
- Requires operator permissions or cheats enabled.