Class OpCommand

java.lang.Object
net.minecraft.server.commands.OpCommand

public class OpCommand extends Object
  • Field Details

    • ERROR_ALREADY_OP

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_OP
  • Constructor Details

    • OpCommand

      public OpCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138080_)
    • 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