Class OpCommand

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

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

    • ALREADY_OPPED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OPPED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named ALREADY_OPPED_EXCEPTION Lnet/minecraft/server/dedicated/command/OpCommand;ALREADY_OPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13667 Lnet/minecraft/class_3083;field_13667:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lank;a: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
      named register Lnet/minecraft/server/dedicated/command/OpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13464 Lnet/minecraft/class_3083;method_13464(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lank;a(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
      named op Lnet/minecraft/server/dedicated/command/OpCommand;op(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
      intermediary method_13465 Lnet/minecraft/class_3083;method_13465(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      official a Lank;a(Let;Ljava/util/Collection;)I