Class OpCommand
java.lang.Object
net.minecraft.server.dedicated.command.OpCommand
public class OpCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ALREADY_OPPED_EXCEPTION
-
Constructor Summary
Constructors Constructor Description OpCommand()
-
Method Summary
Modifier and Type Method Description private static int
op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
ALREADY_OPPED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OPPED_EXCEPTION
-
-
Constructor Details
-
OpCommand
public OpCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
op
private static int op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)
-