跳转至

/gamemode

文档版本:1.21.0.24

/gamemode命令command.gamemode.description

执行条件

该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。

用法

/gamemode <gameMode:GameMode> [player:target]

command.gamemode.1.description

gameModeGameMode
枚举类型。command.enum.gamemode.description枚举值如下:
描述
default command.enum.gamemode.default
creative command.enum.gamemode.creative
spectator command.enum.gamemode.spectator
survival command.enum.gamemode.survival
adventure command.enum.gamemode.adventure
d command.enum.gamemode.d
c command.enum.gamemode.c
s command.enum.gamemode.s
a command.enum.gamemode.a
playertarget
基本类型,可选。command.gamemode.player.description
/gamemode <gameMode:int> [player:target]

command.gamemode.2.description

gameModeint
基本类型。command.gamemode.gameMode.description
playertarget
基本类型,可选。command.gamemode.player.description