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 qintermediary net/minecraft/class_1763named net/minecraft/server/dedicated/command/BanIpCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.command.AbstractCommand
AbstractCommand.Coordinate -
Field Summary
Fields Modifier and Type Field Description static Patternfield_7545 -
Constructor Summary
Constructors Constructor Description BanIpCommand() -
Method Summary
Modifier and Type Method Description voidexecute(CommandSource source, String[] args)List<String>getAutoCompleteHints(CommandSource source, String[] args, BlockPos pos)StringgetCommandName()intgetPermissionLevel()StringgetUsageTranslationKey(CommandSource source)booleanisAccessible(CommandSource source)protected voidmethod_7278(CommandSource commandSource, String string, String string2)Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getCoordinate, getCoordinate, getEntities, getEntity, getEntity, getItem, getPlayer, isUsernameAtIndex, method_5667, method_5675, method_5678, method_5679, method_5680, method_5681, method_5687, method_5688, method_5692, method_5693, parseBoolean, parseClampedDouble, parseClampedDouble, parseClampedInt, parseClampedInt, parseClampedLong, parseDouble, parseDouble, parseDouble, parseInt, parseLong, run, run, setCommandProvider
-
Field Details
-
field_7545
- Mappings:
Namespace Name Mixin selector official aLq;a:Ljava/util/regex/Pattern;intermediary field_7545Lnet/minecraft/class_1763;field_7545:Ljava/util/regex/Pattern;named field_7545Lnet/minecraft/server/dedicated/command/BanIpCommand;field_7545:Ljava/util/regex/Pattern;
-
-
Constructor Details
-
BanIpCommand
public BanIpCommand()
-
-
Method Details
-
getCommandName
- Mappings:
Namespace Name Mixin selector official cLk;c()Ljava/lang/String;intermediary method_5889Lnet/minecraft/class_1606;method_5889()Ljava/lang/String;named getCommandNameLnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
-
getPermissionLevel
public int getPermissionLevel()- Overrides:
getPermissionLevelin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLi;a()Iintermediary method_5657Lnet/minecraft/class_1545;method_5657()Inamed getPermissionLevelLnet/minecraft/command/AbstractCommand;getPermissionLevel()I
-
isAccessible
- Specified by:
isAccessiblein interfaceCommand- Overrides:
isAccessiblein classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;)Zintermediary method_5884Lnet/minecraft/class_1606;method_5884(Lnet/minecraft/class_1659;)Znamed isAccessibleLnet/minecraft/command/Command;isAccessible(Lnet/minecraft/command/CommandSource;)Z
-
getUsageTranslationKey
- Mappings:
Namespace Name Mixin selector official cLk;c(Lm;)Ljava/lang/String;intermediary method_5890Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;named getUsageTranslationKeyLnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
-
execute
- Throws:
CommandException- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;)Vintermediary method_5885Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)Vnamed executeLnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
-
getAutoCompleteHints
- Specified by:
getAutoCompleteHintsin interfaceCommand- Overrides:
getAutoCompleteHintsin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;Lcj;)Ljava/util/List;intermediary method_5886Lnet/minecraft/class_1606;method_5886(Lnet/minecraft/class_1659;[Ljava/lang/String;Lnet/minecraft/class_1372;)Ljava/util/List;named getAutoCompleteHintsLnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
method_7278
- Mappings:
Namespace Name Mixin selector official aLq;a(Lm;Ljava/lang/String;Ljava/lang/String;)Vintermediary method_7278Lnet/minecraft/class_1763;method_7278(Lnet/minecraft/class_1659;Ljava/lang/String;Ljava/lang/String;)Vnamed method_7278Lnet/minecraft/server/dedicated/command/BanIpCommand;method_7278(Lnet/minecraft/command/CommandSource;Ljava/lang/String;Ljava/lang/String;)V
-