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 q
intermediary net/minecraft/class_1763
named net/minecraft/server/dedicated/command/BanIpCommand
  • Field Details

    • field_7545

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

    • BanIpCommand

      public BanIpCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c()Ljava/lang/String;
      intermediary method_5889 Lnet/minecraft/class_1606;method_5889()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 Li;a()I
      intermediary method_5657 Lnet/minecraft/class_1545;method_5657()I
      named getPermissionLevel Lnet/minecraft/command/AbstractCommand;getPermissionLevel()I
    • isAccessible

      public boolean isAccessible​(CommandSource source)
      Specified by:
      isAccessible in interface Command
      Overrides:
      isAccessible in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;)Z
      intermediary method_5884 Lnet/minecraft/class_1606;method_5884(Lnet/minecraft/class_1659;)Z
      named isAccessible Lnet/minecraft/command/Command;isAccessible(Lnet/minecraft/command/CommandSource;)Z
    • getUsageTranslationKey

      public String getUsageTranslationKey​(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c(Lm;)Ljava/lang/String;
      intermediary method_5890 Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • execute

      public void execute​(CommandSource source, String[] args) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;[Ljava/lang/String;)V
      intermediary method_5885 Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)V
      named execute Lnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • getAutoCompleteHints

      public List<String> getAutoCompleteHints​(CommandSource source, String[] args, BlockPos pos)
      Specified by:
      getAutoCompleteHints in interface Command
      Overrides:
      getAutoCompleteHints in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;[Ljava/lang/String;Lcj;)Ljava/util/List;
      intermediary method_5886 Lnet/minecraft/class_1606;method_5886(Lnet/minecraft/class_1659;[Ljava/lang/String;Lnet/minecraft/class_1372;)Ljava/util/List;
      named getAutoCompleteHints Lnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • method_7278

      protected void method_7278​(CommandSource commandSource, String string, String string2)
      Mappings:
      Namespace Name Mixin selector
      official a Lq;a(Lm;Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_7278 Lnet/minecraft/class_1763;method_7278(Lnet/minecraft/class_1659;Ljava/lang/String;Ljava/lang/String;)V
      named method_7278 Lnet/minecraft/server/dedicated/command/BanIpCommand;method_7278(Lnet/minecraft/command/CommandSource;Ljava/lang/String;Ljava/lang/String;)V