Package net.minecraft.command
Class AbstractCommand
java.lang.Object
net.minecraft.command.AbstractCommand
- All Implemented Interfaces:
Comparable,Command
- Direct Known Subclasses:
AchievementCommand,BanCommand,BanIpCommand,BanListCommand,ClearCommand,DebugCommand,DeOpCommand,DifficultyCommand,EffectCommand,EnchantCommand,ExperienceCommand,GameModeCommand,GameRuleCommand,GiveCommand,HelpCommand,KickCommand,KillCommand,ListCommand,MeCommand,MessageCommand,OpCommand,PardonCommand,PardonIpCommand,PlaySoundCommand,PublishCommand,SaveAllCommand,SaveOffCommand,SaveOnCommand,SayCommand,ScoreboardCommand,SeedCommand,SetBlockCommand,SetIdleTimeoutCommand,SetWorldSpawnCommand,SpawnPointCommand,SpreadPlayersCommand,StopCommand,SummonCommand,TeleportCommand,TellRawCommand,TestForBlockCommand,TestForCommand,TimeCommand,ToggleDownfallCommand,WeatherCommand,WhitelistCommand
- Mappings:
Namespace Name official yintermediary net/minecraft/class_955named net/minecraft/command/AbstractCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic Stringstatic Stringconcat(Collection strings) static ServerPlayerEntitygetAsPlayer(CommandSource source) static BlockgetBlock(CommandSource source, String identifier) static booleangetBoolean(CommandSource source, String value) static doublegetClampedDouble(CommandSource source, String value, double min, double max) static intgetClampedInt(CommandSource source, String value, int min, int max) static doublegetDouble(CommandSource source, String value) static intgetInt(CommandSource source, String value) static ItemgetItem(CommandSource source, String identifier) intstatic ServerPlayerEntitygetPlayer(CommandSource source, String name) booleanisAccessible(CommandSource source) booleanisUsernameAtIndex(String[] args, int index) static booleanmethod_2883(String string, String string2) static voidmethod_2886(CommandSource commandSource, int int2, String string, Object[] object) static intmethod_2888(CommandSource source, String value, int min) static voidmethod_2890(CommandSource commandSource, String string, Object[] object) static Listmethod_2893(String[] string, Iterable iterable) static Listmethod_2894(String[] string, String[] string2) method_3276(CommandSource source, String[] string) static Textmethod_4635(CommandSource source, String[] string, int int2) static Stringmethod_5468(CommandSource source, String string) static doublemethod_6332(CommandSource commandSource, double double2, String string) static doublemethod_6333(CommandSource commandSource, double double2, String string, int int2, int int3) static doublemethod_6334(CommandSource source, String value, double min) static Textmethod_8406(CommandSource source, String[] string, int int2, boolean bool) static Textmethod_8407(Text[] text) static Stringmethod_8408(CommandSource commandSource, String[] string, int int2) static voidsetCommandProvider(CommandProvider provider) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.Command
execute, getCommandName, getUsageTranslationKeyMethods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
commandProvider
- Mappings:
Namespace Name Mixin selector official aLy;a:Lx;intermediary field_3733Lnet/minecraft/class_955;field_3733:Lnet/minecraft/class_928;named commandProviderLnet/minecraft/command/AbstractCommand;commandProvider:Lnet/minecraft/command/CommandProvider;
-
-
Constructor Details
-
AbstractCommand
public AbstractCommand()
-
-
Method Details
-
getPermissionLevel
public int getPermissionLevel()- Mappings:
Namespace Name Mixin selector official aLy;a()Iintermediary method_4634Lnet/minecraft/class_955;method_4634()Inamed getPermissionLevelLnet/minecraft/command/AbstractCommand;getPermissionLevel()I
-
getAliases
- Specified by:
getAliasesin interfaceCommand- Mappings:
Namespace Name Mixin selector official bLaa;b()Ljava/util/List;intermediary method_3274Lnet/minecraft/class_1007;method_3274()Ljava/util/List;named getAliasesLnet/minecraft/command/Command;getAliases()Ljava/util/List;
-
isAccessible
- Specified by:
isAccessiblein interfaceCommand- Mappings:
Namespace Name Mixin selector official aLaa;a(Lac;)Zintermediary method_3278Lnet/minecraft/class_1007;method_3278(Lnet/minecraft/class_1061;)Znamed isAccessibleLnet/minecraft/command/Command;isAccessible(Lnet/minecraft/command/CommandSource;)Z
-
method_3276
- Specified by:
method_3276in interfaceCommand- Mappings:
Namespace Name Mixin selector official aLaa;a(Lac;[Ljava/lang/String;)Ljava/util/List;intermediary method_3276Lnet/minecraft/class_1007;method_3276(Lnet/minecraft/class_1061;[Ljava/lang/String;)Ljava/util/List;named method_3276Lnet/minecraft/command/Command;method_3276(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)Ljava/util/List;
-
getInt
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;)Iintermediary method_2887Lnet/minecraft/class_955;method_2887(Lnet/minecraft/class_1061;Ljava/lang/String;)Inamed getIntLnet/minecraft/command/AbstractCommand;getInt(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)I
-
method_2888
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;I)Iintermediary method_2888Lnet/minecraft/class_955;method_2888(Lnet/minecraft/class_1061;Ljava/lang/String;I)Inamed method_2888Lnet/minecraft/command/AbstractCommand;method_2888(Lnet/minecraft/command/CommandSource;Ljava/lang/String;I)I
-
getClampedInt
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;II)Iintermediary method_2889Lnet/minecraft/class_955;method_2889(Lnet/minecraft/class_1061;Ljava/lang/String;II)Inamed getClampedIntLnet/minecraft/command/AbstractCommand;getClampedInt(Lnet/minecraft/command/CommandSource;Ljava/lang/String;II)I
-
getDouble
- Mappings:
Namespace Name Mixin selector official bLy;b(Lac;Ljava/lang/String;)Dintermediary method_4637Lnet/minecraft/class_955;method_4637(Lnet/minecraft/class_1061;Ljava/lang/String;)Dnamed getDoubleLnet/minecraft/command/AbstractCommand;getDouble(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)D
-
method_6334
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;D)Dintermediary method_6334Lnet/minecraft/class_955;method_6334(Lnet/minecraft/class_1061;Ljava/lang/String;D)Dnamed method_6334Lnet/minecraft/command/AbstractCommand;method_6334(Lnet/minecraft/command/CommandSource;Ljava/lang/String;D)D
-
getClampedDouble
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;DD)Dintermediary method_6335Lnet/minecraft/class_955;method_6335(Lnet/minecraft/class_1061;Ljava/lang/String;DD)Dnamed getClampedDoubleLnet/minecraft/command/AbstractCommand;getClampedDouble(Lnet/minecraft/command/CommandSource;Ljava/lang/String;DD)D
-
getBoolean
- Mappings:
Namespace Name Mixin selector official cLy;c(Lac;Ljava/lang/String;)Zintermediary method_6337Lnet/minecraft/class_955;method_6337(Lnet/minecraft/class_1061;Ljava/lang/String;)Znamed getBooleanLnet/minecraft/command/AbstractCommand;getBoolean(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Z
-
getAsPlayer
- Mappings:
Namespace Name Mixin selector official bLy;b(Lac;)Lml;intermediary method_4638Lnet/minecraft/class_955;method_4638(Lnet/minecraft/class_1061;)Lnet/minecraft/class_798;named getAsPlayerLnet/minecraft/command/AbstractCommand;getAsPlayer(Lnet/minecraft/command/CommandSource;)Lnet/minecraft/entity/player/ServerPlayerEntity;
-
getPlayer
- Mappings:
Namespace Name Mixin selector official dLy;d(Lac;Ljava/lang/String;)Lml;intermediary method_4639Lnet/minecraft/class_955;method_4639(Lnet/minecraft/class_1061;Ljava/lang/String;)Lnet/minecraft/class_798;named getPlayerLnet/minecraft/command/AbstractCommand;getPlayer(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Lnet/minecraft/entity/player/ServerPlayerEntity;
-
method_5468
- Mappings:
Namespace Name Mixin selector official eLy;e(Lac;Ljava/lang/String;)Ljava/lang/String;intermediary method_5468Lnet/minecraft/class_955;method_5468(Lnet/minecraft/class_1061;Ljava/lang/String;)Ljava/lang/String;named method_5468Lnet/minecraft/command/AbstractCommand;method_5468(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Ljava/lang/String;
-
method_4635
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;[Ljava/lang/String;I)Lez;intermediary method_4635Lnet/minecraft/class_955;method_4635(Lnet/minecraft/class_1061;[Ljava/lang/String;I)Lnet/minecraft/class_1982;named method_4635Lnet/minecraft/command/AbstractCommand;method_4635(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;I)Lnet/minecraft/text/Text;
-
method_8406
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;[Ljava/lang/String;IZ)Lez;intermediary method_8406Lnet/minecraft/class_955;method_8406(Lnet/minecraft/class_1061;[Ljava/lang/String;IZ)Lnet/minecraft/class_1982;named method_8406Lnet/minecraft/command/AbstractCommand;method_8406(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;IZ)Lnet/minecraft/text/Text;
-
method_8408
- Mappings:
Namespace Name Mixin selector official bLy;b(Lac;[Ljava/lang/String;I)Ljava/lang/String;intermediary method_8408Lnet/minecraft/class_955;method_8408(Lnet/minecraft/class_1061;[Ljava/lang/String;I)Ljava/lang/String;named method_8408Lnet/minecraft/command/AbstractCommand;method_8408(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;I)Ljava/lang/String;
-
method_6332
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;DLjava/lang/String;)Dintermediary method_6332Lnet/minecraft/class_955;method_6332(Lnet/minecraft/class_1061;DLjava/lang/String;)Dnamed method_6332Lnet/minecraft/command/AbstractCommand;method_6332(Lnet/minecraft/command/CommandSource;DLjava/lang/String;)D
-
method_6333
public static double method_6333(CommandSource commandSource, double double2, String string, int int2, int int3) - Mappings:
Namespace Name Mixin selector official aLy;a(Lac;DLjava/lang/String;II)Dintermediary method_6333Lnet/minecraft/class_955;method_6333(Lnet/minecraft/class_1061;DLjava/lang/String;II)Dnamed method_6333Lnet/minecraft/command/AbstractCommand;method_6333(Lnet/minecraft/command/CommandSource;DLjava/lang/String;II)D
-
getItem
- Mappings:
Namespace Name Mixin selector official fLy;f(Lac;Ljava/lang/String;)Labm;intermediary method_8409Lnet/minecraft/class_955;method_8409(Lnet/minecraft/class_1061;Ljava/lang/String;)Lnet/minecraft/class_1069;named getItemLnet/minecraft/command/AbstractCommand;getItem(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Lnet/minecraft/item/Item;
-
getBlock
- Mappings:
Namespace Name Mixin selector official gLy;g(Lac;Ljava/lang/String;)Laht;intermediary method_8410Lnet/minecraft/class_955;method_8410(Lnet/minecraft/class_1061;Ljava/lang/String;)Lnet/minecraft/class_197;named getBlockLnet/minecraft/command/AbstractCommand;getBlock(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Lnet/minecraft/block/Block;
-
concat
- Mappings:
Namespace Name Mixin selector official aLy;a([Ljava/lang/Object;)Ljava/lang/String;intermediary method_2891Lnet/minecraft/class_955;method_2891([Ljava/lang/Object;)Ljava/lang/String;named concatLnet/minecraft/command/AbstractCommand;concat([Ljava/lang/Object;)Ljava/lang/String;
-
method_8407
- Mappings:
Namespace Name Mixin selector official aLy;a([Lez;)Lez;intermediary method_8407Lnet/minecraft/class_955;method_8407([Lnet/minecraft/class_1982;)Lnet/minecraft/class_1982;named method_8407Lnet/minecraft/command/AbstractCommand;method_8407([Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
-
concat
- Mappings:
Namespace Name Mixin selector official aLy;a(Ljava/util/Collection;)Ljava/lang/String;intermediary method_5467Lnet/minecraft/class_955;method_5467(Ljava/util/Collection;)Ljava/lang/String;named concatLnet/minecraft/command/AbstractCommand;concat(Ljava/util/Collection;)Ljava/lang/String;
-
method_2883
- Mappings:
Namespace Name Mixin selector official aLy;a(Ljava/lang/String;Ljava/lang/String;)Zintermediary method_2883Lnet/minecraft/class_955;method_2883(Ljava/lang/String;Ljava/lang/String;)Znamed method_2883Lnet/minecraft/command/AbstractCommand;method_2883(Ljava/lang/String;Ljava/lang/String;)Z
-
method_2894
- Mappings:
Namespace Name Mixin selector official aLy;a([Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;intermediary method_2894Lnet/minecraft/class_955;method_2894([Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;named method_2894Lnet/minecraft/command/AbstractCommand;method_2894([Ljava/lang/String;[Ljava/lang/String;)Ljava/util/List;
-
method_2893
- Mappings:
Namespace Name Mixin selector official aLy;a([Ljava/lang/String;Ljava/lang/Iterable;)Ljava/util/List;intermediary method_2893Lnet/minecraft/class_955;method_2893([Ljava/lang/String;Ljava/lang/Iterable;)Ljava/util/List;named method_2893Lnet/minecraft/command/AbstractCommand;method_2893([Ljava/lang/String;Ljava/lang/Iterable;)Ljava/util/List;
-
isUsernameAtIndex
- Specified by:
isUsernameAtIndexin interfaceCommand- Mappings:
Namespace Name Mixin selector official aLaa;a([Ljava/lang/String;I)Zintermediary method_4674Lnet/minecraft/class_1007;method_4674([Ljava/lang/String;I)Znamed isUsernameAtIndexLnet/minecraft/command/Command;isUsernameAtIndex([Ljava/lang/String;I)Z
-
method_2890
- Mappings:
Namespace Name Mixin selector official aLy;a(Lac;Ljava/lang/String;[Ljava/lang/Object;)Vintermediary method_2890Lnet/minecraft/class_955;method_2890(Lnet/minecraft/class_1061;Ljava/lang/String;[Ljava/lang/Object;)Vnamed method_2890Lnet/minecraft/command/AbstractCommand;method_2890(Lnet/minecraft/command/CommandSource;Ljava/lang/String;[Ljava/lang/Object;)V
-
method_2886
public static void method_2886(CommandSource commandSource, int int2, String string, Object[] object) - Mappings:
Namespace Name Mixin selector official aLy;a(Lac;ILjava/lang/String;[Ljava/lang/Object;)Vintermediary method_2886Lnet/minecraft/class_955;method_2886(Lnet/minecraft/class_1061;ILjava/lang/String;[Ljava/lang/Object;)Vnamed method_2886Lnet/minecraft/command/AbstractCommand;method_2886(Lnet/minecraft/command/CommandSource;ILjava/lang/String;[Ljava/lang/Object;)V
-
setCommandProvider
- Mappings:
Namespace Name Mixin selector official aLy;a(Lx;)Vintermediary method_2884Lnet/minecraft/class_955;method_2884(Lnet/minecraft/class_928;)Vnamed setCommandProviderLnet/minecraft/command/AbstractCommand;setCommandProvider(Lnet/minecraft/command/CommandProvider;)V
-
compareTo
- Mappings:
Namespace Name Mixin selector official aLy;a(Laa;)Iintermediary method_2885Lnet/minecraft/class_955;method_2885(Lnet/minecraft/class_1007;)Inamed compareToLnet/minecraft/command/AbstractCommand;compareTo(Lnet/minecraft/command/Command;)I
-