Class BanIpCommand

java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.dedicated.command.BanIpCommand
All Implemented Interfaces:
Comparable<Command>, Command

public class BanIpCommand extends AbstractCommand
Mappings:
Namespace Name
official bs
intermediary net/minecraft/class_747
named net/minecraft/server/dedicated/command/BanIpCommand
  • Field Details

    • field_2725

      public static final Pattern field_2725
      Mappings:
      Namespace Name Mixin selector
      official a Lbs;a:Ljava/util/regex/Pattern;
      intermediary field_2725 Lnet/minecraft/class_747;field_2725:Ljava/util/regex/Pattern;
      named field_2725 Lnet/minecraft/server/dedicated/command/BanIpCommand;field_2725:Ljava/util/regex/Pattern;
  • Constructor Details

    • BanIpCommand

      public BanIpCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Lbk;c()Ljava/lang/String;
      intermediary method_3277 Lnet/minecraft/class_1007;method_3277()Ljava/lang/String;
      named getCommandName Lnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
    • getPermissionLevel

      public int getPermissionLevel()
      Overrides:
      getPermissionLevel in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbi;a()I
      intermediary method_4634 Lnet/minecraft/class_955;method_4634()I
      named getPermissionLevel Lnet/minecraft/command/AbstractCommand;getPermissionLevel()I
    • method_3278

      public boolean method_3278(MinecraftServer server, CommandSource source)
      Specified by:
      method_3278 in interface Command
      Overrides:
      method_3278 in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbk;a(Lnet/minecraft/server/MinecraftServer;Lbn;)Z
      intermediary method_3278 Lnet/minecraft/class_1007;method_3278(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;)Z
      named method_3278 Lnet/minecraft/command/Command;method_3278(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;)Z
    • getUsageTranslationKey

      public String getUsageTranslationKey(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official b Lbk;b(Lbn;)Ljava/lang/String;
      intermediary method_3275 Lnet/minecraft/class_1007;method_3275(Lnet/minecraft/class_1061;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • method_3279

      public void method_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Lbk;a(Lnet/minecraft/server/MinecraftServer;Lbn;[Ljava/lang/String;)V
      intermediary method_3279 Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;)V
      named method_3279 Lnet/minecraft/command/Command;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • method_10738

      public List<String> method_10738(MinecraftServer server, CommandSource source, String[] string, @Nullable BlockPos pos)
      Specified by:
      method_10738 in interface Command
      Overrides:
      method_10738 in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbk;a(Lnet/minecraft/server/MinecraftServer;Lbn;[Ljava/lang/String;Let;)Ljava/util/List;
      intermediary method_10738 Lnet/minecraft/class_1007;method_10738(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;Lnet/minecraft/class_2552;)Ljava/util/List;
      named method_10738 Lnet/minecraft/command/Command;method_10738(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • method_2054

      protected void method_2054(MinecraftServer minecraftServer, CommandSource commandSource, String string, @Nullable String string2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbs;a(Lnet/minecraft/server/MinecraftServer;Lbn;Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_2054 Lnet/minecraft/class_747;method_2054(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;Ljava/lang/String;Ljava/lang/String;)V
      named method_2054 Lnet/minecraft/server/dedicated/command/BanIpCommand;method_2054(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;Ljava/lang/String;Ljava/lang/String;)V