public class GameModeCommand
extends java.lang.Object
Constructor and Description |
---|
GameModeCommand() |
Modifier and Type | Method and Description |
---|---|
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static void |
sendGameModeFeedback(CommandSource source,
ServerPlayerEntity player,
GameType gameTypeIn) |
private static int |
setGameMode(com.mojang.brigadier.context.CommandContext<CommandSource> source,
java.util.Collection<ServerPlayerEntity> players,
GameType gameTypeIn) |
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static void sendGameModeFeedback(CommandSource source, ServerPlayerEntity player, GameType gameTypeIn)
private static int setGameMode(com.mojang.brigadier.context.CommandContext<CommandSource> source, java.util.Collection<ServerPlayerEntity> players, GameType gameTypeIn)