Class OpCommand

java.lang.Object
net.minecraft.server.dedicated.command.OpCommand

public class OpCommand extends Object
Mappings:
Namespace Name
official aaj
intermediary net/minecraft/class_3083
named net/minecraft/server/dedicated/command/OpCommand
  • Field Details

    • ALREADY_OPPED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OPPED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Laaj;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13667 Lnet/minecraft/class_3083;field_13667:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named ALREADY_OPPED_EXCEPTION Lnet/minecraft/server/dedicated/command/OpCommand;ALREADY_OPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • OpCommand

      public OpCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laaj;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13464 Lnet/minecraft/class_3083;method_13464(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/dedicated/command/OpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • op

      private static int op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laaj;a(Ldm;Ljava/util/Collection;)I
      intermediary method_13465 Lnet/minecraft/class_3083;method_13465(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      named op Lnet/minecraft/server/dedicated/command/OpCommand;op(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I