public class WhitelistCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ADD_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ALREADY_OFF_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ALREADY_ON_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
REMOVE_FAILED_EXCEPTION |
Constructor and Description |
---|
WhitelistCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
executeAdd(ServerCommandSource source,
Collection<com.mojang.authlib.GameProfile> targets) |
private static int |
executeList(ServerCommandSource source) |
private static int |
executeOff(ServerCommandSource source) |
private static int |
executeOn(ServerCommandSource source) |
private static int |
executeReload(ServerCommandSource source) |
private static int |
executeRemove(ServerCommandSource source,
Collection<com.mojang.authlib.GameProfile> targets) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_ON_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OFF_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ADD_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType REMOVE_FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeReload(ServerCommandSource source)
private static int executeAdd(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
private static int executeRemove(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
private static int executeOn(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeOff(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static int executeList(ServerCommandSource source)