Class PardonCommand

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

public class PardonCommand extends Object
Mappings:
Namespace Name
official adm
intermediary net/minecraft/class_3086
named net/minecraft/server/dedicated/command/PardonCommand
  • Field Details

    • ALREADY_UNBANNED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_UNBANNED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Ladm;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13669 Lnet/minecraft/class_3086;field_13669:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named ALREADY_UNBANNED_EXCEPTION Lnet/minecraft/server/dedicated/command/PardonCommand;ALREADY_UNBANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • PardonCommand

      public PardonCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Ladm;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13472 Lnet/minecraft/class_3086;method_13472(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/dedicated/command/PardonCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • pardon

      private static int pardon(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 Ladm;a(Ldr;Ljava/util/Collection;)I
      intermediary method_13473 Lnet/minecraft/class_3086;method_13473(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
      named pardon Lnet/minecraft/server/dedicated/command/PardonCommand;pardon(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I