/gamerule
¶
文档版本:1.21.60.21
/gamerule
命令command.gamerule.description
执行条件
该命令需要权限等级:gamedirectors
|1
。
用法¶
command.gamerule.2.description
rule
:BoolGameRule- 枚举类型。command.enum.boolgamerule.description枚举值如下:
-
值 描述 commandblockoutput
command.enum.boolgamerule.commandblockoutput dodaylightcycle
command.enum.boolgamerule.dodaylightcycle doentitydrops
command.enum.boolgamerule.doentitydrops dofiretick
command.enum.boolgamerule.dofiretick recipesunlock
command.enum.boolgamerule.recipesunlock dolimitedcrafting
command.enum.boolgamerule.dolimitedcrafting domobloot
command.enum.boolgamerule.domobloot domobspawning
command.enum.boolgamerule.domobspawning dotiledrops
command.enum.boolgamerule.dotiledrops doweathercycle
command.enum.boolgamerule.doweathercycle drowningdamage
command.enum.boolgamerule.drowningdamage falldamage
command.enum.boolgamerule.falldamage firedamage
command.enum.boolgamerule.firedamage keepinventory
command.enum.boolgamerule.keepinventory mobgriefing
command.enum.boolgamerule.mobgriefing pvp
command.enum.boolgamerule.pvp showcoordinates
command.enum.boolgamerule.showcoordinates showdaysplayed
command.enum.boolgamerule.showdaysplayed naturalregeneration
command.enum.boolgamerule.naturalregeneration tntexplodes
command.enum.boolgamerule.tntexplodes sendcommandfeedback
command.enum.boolgamerule.sendcommandfeedback doinsomnia
command.enum.boolgamerule.doinsomnia commandblocksenabled
command.enum.boolgamerule.commandblocksenabled doimmediaterespawn
command.enum.boolgamerule.doimmediaterespawn showdeathmessages
command.enum.boolgamerule.showdeathmessages showtags
command.enum.boolgamerule.showtags freezedamage
command.enum.boolgamerule.freezedamage respawnblocksexplode
command.enum.boolgamerule.respawnblocksexplode showbordereffect
command.enum.boolgamerule.showbordereffect showrecipemessages
command.enum.boolgamerule.showrecipemessages projectilescanbreakblocks
command.enum.boolgamerule.projectilescanbreakblocks tntexplosiondropdecay
command.enum.boolgamerule.tntexplosiondropdecay value
:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true
是 false
否
command.gamerule.3.description
rule
:IntGameRule- 枚举类型。command.enum.intgamerule.description枚举值如下:
-
值 描述 maxcommandchainlength
command.enum.intgamerule.maxcommandchainlength randomtickspeed
command.enum.intgamerule.randomtickspeed functioncommandlimit
command.enum.intgamerule.functioncommandlimit spawnradius
command.enum.intgamerule.spawnradius playerssleepingpercentage
command.enum.intgamerule.playerssleepingpercentage value
:int- 基本类型,可选。command.gamerule.value.description