public class OpCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
ALREADY_OP |
Constructor and Description |
---|
OpCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
opPlayers(CommandSource source,
java.util.Collection<com.mojang.authlib.GameProfile> gameProfiles) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OP
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int opPlayers(CommandSource source, java.util.Collection<com.mojang.authlib.GameProfile> gameProfiles) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException