/gamerule¶
文档版本:1.21.60.21
/gamerule命令command.gamerule.description
执行条件
该命令需要权限等级:gamedirectors|1。
用法¶
command.gamerule.2.description
rule:BoolGameRule- 枚举类型。command.enum.boolgamerule.description枚举值如下:
-
值 描述 commandblockoutputcommand.enum.boolgamerule.commandblockoutput dodaylightcyclecommand.enum.boolgamerule.dodaylightcycle doentitydropscommand.enum.boolgamerule.doentitydrops dofiretickcommand.enum.boolgamerule.dofiretick recipesunlockcommand.enum.boolgamerule.recipesunlock dolimitedcraftingcommand.enum.boolgamerule.dolimitedcrafting domoblootcommand.enum.boolgamerule.domobloot domobspawningcommand.enum.boolgamerule.domobspawning dotiledropscommand.enum.boolgamerule.dotiledrops doweathercyclecommand.enum.boolgamerule.doweathercycle drowningdamagecommand.enum.boolgamerule.drowningdamage falldamagecommand.enum.boolgamerule.falldamage firedamagecommand.enum.boolgamerule.firedamage keepinventorycommand.enum.boolgamerule.keepinventory mobgriefingcommand.enum.boolgamerule.mobgriefing pvpcommand.enum.boolgamerule.pvp showcoordinatescommand.enum.boolgamerule.showcoordinates showdaysplayedcommand.enum.boolgamerule.showdaysplayed naturalregenerationcommand.enum.boolgamerule.naturalregeneration tntexplodescommand.enum.boolgamerule.tntexplodes sendcommandfeedbackcommand.enum.boolgamerule.sendcommandfeedback doinsomniacommand.enum.boolgamerule.doinsomnia commandblocksenabledcommand.enum.boolgamerule.commandblocksenabled doimmediaterespawncommand.enum.boolgamerule.doimmediaterespawn showdeathmessagescommand.enum.boolgamerule.showdeathmessages showtagscommand.enum.boolgamerule.showtags freezedamagecommand.enum.boolgamerule.freezedamage respawnblocksexplodecommand.enum.boolgamerule.respawnblocksexplode showbordereffectcommand.enum.boolgamerule.showbordereffect showrecipemessagescommand.enum.boolgamerule.showrecipemessages projectilescanbreakblockscommand.enum.boolgamerule.projectilescanbreakblocks tntexplosiondropdecaycommand.enum.boolgamerule.tntexplosiondropdecay value:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否
command.gamerule.3.description
rule:IntGameRule- 枚举类型。command.enum.intgamerule.description枚举值如下:
-
值 描述 maxcommandchainlengthcommand.enum.intgamerule.maxcommandchainlength randomtickspeedcommand.enum.intgamerule.randomtickspeed functioncommandlimitcommand.enum.intgamerule.functioncommandlimit spawnradiuscommand.enum.intgamerule.spawnradius playerssleepingpercentagecommand.enum.intgamerule.playerssleepingpercentage value:int- 基本类型,可选。command.gamerule.value.description