类 GameModeCommand
java.lang.Object
net.minecraft.server.commands.GameModeCommand
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static void
logGamemodeChange
(CommandSourceStack pSource, ServerPlayer pPlayer, GameType pGameType) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher) private static int
setMode
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, Collection<ServerPlayer> pPlayers, GameType pGameType)
-
字段详细资料
-
PERMISSION_LEVEL
public static final int PERMISSION_LEVEL- 另请参阅:
-
-
构造器详细资料
-
GameModeCommand
public GameModeCommand()
-
-
方法详细资料
-
register
-
logGamemodeChange
private static void logGamemodeChange(CommandSourceStack pSource, ServerPlayer pPlayer, GameType pGameType) -
setMode
private static int setMode(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pSource, Collection<ServerPlayer> pPlayers, GameType pGameType)
-