Package net.minecraft.server.commands
Class OpCommand
java.lang.Object
net.minecraft.server.commands.OpCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
opPlayers(CommandSourceStack p_138089_, Collection<com.mojang.authlib.GameProfile> p_138090_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138080_)
-
Field Details
-
ERROR_ALREADY_OP
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_OP
-
-
Constructor Details
-
OpCommand
public OpCommand()
-
-
Method Details
-
register
-
opPlayers
private static int opPlayers(CommandSourceStack p_138089_, Collection<com.mojang.authlib.GameProfile> p_138090_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-