Class DeOpCommand

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

public class DeOpCommand extends Object
Mappings:
Namespace Name
official aee
intermediary net/minecraft/class_3030
named net/minecraft/server/dedicated/command/DeOpCommand
  • Field Details

    • ALREADY_DEOPPED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_DEOPPED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Laee;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13507 Lnet/minecraft/class_3030;field_13507:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named ALREADY_DEOPPED_EXCEPTION Lnet/minecraft/server/dedicated/command/DeOpCommand;ALREADY_DEOPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • DeOpCommand

      public DeOpCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laee;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13143 Lnet/minecraft/class_3030;method_13143(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/dedicated/command/DeOpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • deop

      private static int deop(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 Laee;a(Lds;Ljava/util/Collection;)I
      intermediary method_13144 Lnet/minecraft/class_3030;method_13144(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      named deop Lnet/minecraft/server/dedicated/command/DeOpCommand;deop(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I