跳转至

GameRule

文档版本:1.21.0.24

GameRule枚举。script_api.minecraft/server.gamerule.description

常量

CommandBlockOutput
static read-only CommandBlockOutput = "commandBlockOutput";
CommandBlocksEnabled
static read-only CommandBlocksEnabled = "commandBlocksEnabled";
DoDayLightCycle
static read-only DoDayLightCycle = "doDayLightCycle";
DoEntityDrops
static read-only DoEntityDrops = "doEntityDrops";
DoFireTick
static read-only DoFireTick = "doFireTick";
DoImmediateRespawn
static read-only DoImmediateRespawn = "doImmediateRespawn";
DoInsomnia
static read-only DoInsomnia = "doInsomnia";
DoLimitedCrafting
static read-only DoLimitedCrafting = "doLimitedCrafting";
DoMobLoot
static read-only DoMobLoot = "doMobLoot";
DoMobSpawning
static read-only DoMobSpawning = "doMobSpawning";
DoTileDrops
static read-only DoTileDrops = "doTileDrops";
DoWeatherCycle
static read-only DoWeatherCycle = "doWeatherCycle";
DrowningDamage
static read-only DrowningDamage = "drowningDamage";
FallDamage
static read-only FallDamage = "fallDamage";
FireDamage
static read-only FireDamage = "fireDamage";
FreezeDamage
static read-only FreezeDamage = "freezeDamage";
FunctionCommandLimit
static read-only FunctionCommandLimit = "functionCommandLimit";
KeepInventory
static read-only KeepInventory = "keepInventory";
MaxCommandChainLength
static read-only MaxCommandChainLength = "maxCommandChainLength";
MobGriefing
static read-only MobGriefing = "mobGriefing";
NaturalRegeneration
static read-only NaturalRegeneration = "naturalRegeneration";
PlayersSleepingPercentage
static read-only PlayersSleepingPercentage = "playersSleepingPercentage";
ProjectilesCanBreakBlocks
static read-only ProjectilesCanBreakBlocks = "projectilesCanBreakBlocks";
Pvp
static read-only Pvp = "pvp";
RandomTickSpeed
static read-only RandomTickSpeed = "randomTickSpeed";
RecipesUnlock
static read-only RecipesUnlock = "recipesUnlock";
RespawnBlocksExplode
static read-only RespawnBlocksExplode = "respawnBlocksExplode";
SendCommandFeedback
static read-only SendCommandFeedback = "sendCommandFeedback";
ShowBorderEffect
static read-only ShowBorderEffect = "showBorderEffect";
ShowCoordinates
static read-only ShowCoordinates = "showCoordinates";
ShowDeathMessages
static read-only ShowDeathMessages = "showDeathMessages";
ShowRecipeMessages
static read-only ShowRecipeMessages = "showRecipeMessages";
ShowTags
static read-only ShowTags = "showTags";
SpawnRadius
static read-only SpawnRadius = "spawnRadius";
TntExplodes
static read-only TntExplodes = "tntExplodes";
TntExplosionDropDecay
static read-only TntExplosionDropDecay = "tntExplosionDropDecay";