public class BanCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ALREADY_BANNED_EXCEPTION |
Constructor and Description |
---|
BanCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
ban(ServerCommandSource serverCommandSource,
Collection<com.mojang.authlib.GameProfile> collection,
Text text) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_BANNED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> commandDispatcher)
private static int ban(ServerCommandSource serverCommandSource, Collection<com.mojang.authlib.GameProfile> collection, @Nullable Text text)