Enumeration: GameRule
Enumeration Members
CommandBlockOutput
Beta
CommandBlockOutput:
"commandBlockOutput"
Remarks
Whether command blocks should notify admins when they perform commands.
CommandBlocksEnabled
Beta
CommandBlocksEnabled:
"commandBlocksEnabled"
Remarks
Controls whether command blocks can execute commands.
DoDayLightCycle
Beta
DoDayLightCycle:
"doDayLightCycle"
Remarks
Controls whether the day and night cycles progress.
DoEntityDrops
Beta
DoEntityDrops:
"doEntityDrops"
Remarks
Controls whether non-mob entities do drops. ie. Item Frame
DoFireTick
Beta
DoFireTick:
"doFireTick"
Remarks
Controls whether fire spreads.
DoImmediateRespawn
Beta
DoImmediateRespawn:
"doImmediateRespawn"
Remarks
Controls whether players immediately respawn or are shown the death screen.
DoInsomnia
Beta
DoInsomnia:
"doInsomnia"
Remarks
Controls whether players deal with the effects of not sleeping (such as Phantom spawning).
DoLimitedCrafting
Beta
DoLimitedCrafting:
"doLimitedCrafting"
Remarks
Determines whether players should be able to craft only those recipes that they've unlocked first - when dolimitedcrafting is set to true.
DoMobLoot
Beta
DoMobLoot:
"doMobLoot"
Remarks
Controls whether mobs drop loot.
DoMobSpawning
Beta
DoMobSpawning:
"doMobSpawning"
Remarks
Controls whether mobs spawn naturally in the world.
DoTileDrops
Beta
DoTileDrops:
"doTileDrops"
Remarks
Controls whether blocks drop items when destroyed.
DoWeatherCycle
Beta
DoWeatherCycle:
"doWeatherCycle"
Remarks
Controls whether the weather can change naturally.
DrowningDamage
Beta
DrowningDamage:
"drowningDamage"
Remarks
Controls whether entities take damage from drowning.
FallDamage
Beta
FallDamage:
"fallDamage"
Remarks
Controls whether entities take damage from falling.
FireDamage
Beta
FireDamage:
"fireDamage"
Remarks
Controls whether entities take damage from fire.
FreezeDamage
Beta
FreezeDamage:
"freezeDamage"
Remarks
Controls whether there is damage from freezing.
FunctionCommandLimit
Beta
FunctionCommandLimit:
"functionCommandLimit"
Remarks
The maximum number of commands that can be executed simultaneously by the /function command.
KeepInventory
Beta
KeepInventory:
"keepInventory"
Remarks
Controls whether players keep their inventories when they die.
MaxCommandChainLength
Beta
MaxCommandChainLength:
"maxCommandChainLength"
Remarks
The maximum number of chained commands that can execute per tick.
MobGriefing
Beta
MobGriefing:
"mobGriefing"
Remarks
Controls whether mob griefing can happen in the world. Example: A Creeper explosion destroying blocks.
NaturalRegeneration
Beta
NaturalRegeneration:
"naturalRegeneration"
Remarks
Controls whether players can regenerate health.
PlayersSleepingPercentage
Beta
PlayersSleepingPercentage:
"playersSleepingPercentage"
Remarks
The percentage of players required to be sleeping in order to advance to the next day.
ProjectilesCanBreakBlocks
Beta
ProjectilesCanBreakBlocks:
"projectilesCanBreakBlocks"
Remarks
Controls whether projectiles (entities with a projectile component, like Arrows, thrown Tridents or Fireworks) can destroy certain blocks that support this interaction (such as Chorus Fruit, Dripstone or Decorated Pots). Restrictions on which projectiles can destroy certain blocks apply.
Pvp
Beta
Pvp:
"pvp"