手册:@minecraft/server.GameMode

来自Minecraft基岩版开发Wiki

GameMode

常量
类型 描述
adventure String adventure
creative String creative
spectator String spectator
survival String survival