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,BlockDataCommand,ClearCommand,CloneCommand,DebugCommand,DeOpCommand,DifficultyCommand,EffectCommand,EnchantCommand,EntityDataCommand,ExecuteCommand,ExperienceCommand,FillCommand,GameModeCommand,GameRuleCommand,GiveCommand,HelpCommand,KickCommand,KillCommand,ListCommand,MeCommand,MessageCommand,OpCommand,PardonCommand,PardonIpCommand,ParticleCommand,PlaySoundCommand,PublishCommand,ReplaceItemCommand,SaveAllCommand,SaveOffCommand,SaveOnCommand,SayCommand,ScoreboardCommand,SeedCommand,SetBlockCommand,SetIdleTimeoutCommand,SetWorldSpawnCommand,SpawnPointCommand,SpreadPlayersCommand,StatsCommand,StopCommand,SummonCommand,TeleportCommand,TellRawCommand,TestForBlockCommand,TestForBlocksCommand,TestForCommand,TimeCommand,TitleCommand,ToggleDownfallCommand,TriggerCommand,WeatherCommand,WhitelistCommand,WorldBorderCommand
- Mappings:
Namespace Name official zintermediary net/minecraft/class_955named net/minecraft/command/AbstractCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic Stringstatic Stringconcat(Collection strings) static Textstatic ServerPlayerEntitygetAsPlayer(CommandSource source) getAutoCompleteHints(CommandSource source, String[] args, BlockPos pos) static BlockgetBlock(CommandSource source, String identifier) static BlockPosgetBlockPos(CommandSource source, String[] args, int permissionLevel, boolean bool) static ListgetEntities(CommandSource source, String uuid) static EntitygetEntity(CommandSource source, String uuid) static EntitygetEntity(CommandSource source, String uuid, Class entityClass) static ItemgetItem(CommandSource source, String identifier) intstatic ServerPlayerEntitygetPlayer(CommandSource source, String name) booleanisAccessible(CommandSource source) booleanisUsernameAtIndex(String[] args, int index) static class_2588method_10699(double double2, String string, int int2, int int3, boolean bool) static class_2588method_10700(double double2, String string, boolean bool) static Stringmethod_10706(String[] string, int int2) static Listmethod_10707(String[] string, int int2, BlockPos pos) static Listmethod_10708(String[] string, Collection collection) static Stringmethod_10714(CommandSource source, String string) static booleanmethod_2883(String string, String string2) static Listmethod_2894(String[] string, String[] string2) static Textmethod_4635(CommandSource source, String[] string, int int2) static Stringmethod_5468(CommandSource source, String string) static Textmethod_8406(CommandSource source, String[] string, int int2, boolean bool) static booleanparseBoolean(String value) static doubleparseClampedDouble(String value, double min) static doubleparseClampedDouble(String value, double min, double max) static intparseClampedInt(String value, int min) static intparseClampedInt(String value, int min, int max) static longparseClampedLong(String value, long min, long max) static doubleparseDouble(double double2, String value, boolean bool) static doubleparseDouble(double double2, String value, int min, int max, boolean bool) static doubleparseDouble(String value) static intstatic longstatic voidrun(CommandSource source, Command command, int permissionLevel, String label, Object[] args) static voidrun(CommandSource source, Command command, String label, Object[] args) 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 aLz;a:Ly;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 aLz;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 bLac;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 aLac;a(Lae;)Zintermediary method_3278Lnet/minecraft/class_1007;method_3278(Lnet/minecraft/class_1061;)Znamed isAccessibleLnet/minecraft/command/Command;isAccessible(Lnet/minecraft/command/CommandSource;)Z
-
getAutoCompleteHints
- Specified by:
getAutoCompleteHintsin interfaceCommand- Mappings:
Namespace Name Mixin selector official aLac;a(Lae;[Ljava/lang/String;Ldt;)Ljava/util/List;intermediary method_10738Lnet/minecraft/class_1007;method_10738(Lnet/minecraft/class_1061;[Ljava/lang/String;Lnet/minecraft/class_2552;)Ljava/util/List;named getAutoCompleteHintsLnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
parseInt
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;)Iintermediary method_10701Lnet/minecraft/class_955;method_10701(Ljava/lang/String;)Inamed parseIntLnet/minecraft/command/AbstractCommand;parseInt(Ljava/lang/String;)I
-
parseClampedInt
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;I)Iintermediary method_2888Lnet/minecraft/class_955;method_2888(Ljava/lang/String;I)Inamed parseClampedIntLnet/minecraft/command/AbstractCommand;parseClampedInt(Ljava/lang/String;I)I
-
parseClampedInt
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;II)Iintermediary method_2889Lnet/minecraft/class_955;method_2889(Ljava/lang/String;II)Inamed parseClampedIntLnet/minecraft/command/AbstractCommand;parseClampedInt(Ljava/lang/String;II)I
-
parseLong
- Mappings:
Namespace Name Mixin selector official bLz;b(Ljava/lang/String;)Jintermediary method_10710Lnet/minecraft/class_955;method_10710(Ljava/lang/String;)Jnamed parseLongLnet/minecraft/command/AbstractCommand;parseLong(Ljava/lang/String;)J
-
parseClampedLong
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;JJ)Jintermediary method_10702Lnet/minecraft/class_955;method_10702(Ljava/lang/String;JJ)Jnamed parseClampedLongLnet/minecraft/command/AbstractCommand;parseClampedLong(Ljava/lang/String;JJ)J
-
getBlockPos
public static BlockPos getBlockPos(CommandSource source, String[] args, int permissionLevel, boolean bool) - Mappings:
Namespace Name Mixin selector official aLz;a(Lae;[Ljava/lang/String;IZ)Ldt;intermediary method_10705Lnet/minecraft/class_955;method_10705(Lnet/minecraft/class_1061;[Ljava/lang/String;IZ)Lnet/minecraft/class_2552;named getBlockPosLnet/minecraft/command/AbstractCommand;getBlockPos(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;IZ)Lnet/minecraft/util/math/BlockPos;
-
parseDouble
- Mappings:
Namespace Name Mixin selector official cLz;c(Ljava/lang/String;)Dintermediary method_4637Lnet/minecraft/class_955;method_4637(Ljava/lang/String;)Dnamed parseDoubleLnet/minecraft/command/AbstractCommand;parseDouble(Ljava/lang/String;)D
-
parseClampedDouble
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;D)Dintermediary method_6334Lnet/minecraft/class_955;method_6334(Ljava/lang/String;D)Dnamed parseClampedDoubleLnet/minecraft/command/AbstractCommand;parseClampedDouble(Ljava/lang/String;D)D
-
parseClampedDouble
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/lang/String;DD)Dintermediary method_6335Lnet/minecraft/class_955;method_6335(Ljava/lang/String;DD)Dnamed parseClampedDoubleLnet/minecraft/command/AbstractCommand;parseClampedDouble(Ljava/lang/String;DD)D
-
parseBoolean
- Mappings:
Namespace Name Mixin selector official dLz;d(Ljava/lang/String;)Zintermediary method_6337Lnet/minecraft/class_955;method_6337(Ljava/lang/String;)Znamed parseBooleanLnet/minecraft/command/AbstractCommand;parseBoolean(Ljava/lang/String;)Z
-
getAsPlayer
- Mappings:
Namespace Name Mixin selector official bLz;b(Lae;)Lqw;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 aLz;a(Lae;Ljava/lang/String;)Lqw;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;
-
getEntity
- Mappings:
Namespace Name Mixin selector official bLz;b(Lae;Ljava/lang/String;)Lwv;intermediary method_10711Lnet/minecraft/class_955;method_10711(Lnet/minecraft/class_1061;Ljava/lang/String;)Lnet/minecraft/class_864;named getEntityLnet/minecraft/command/AbstractCommand;getEntity(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Lnet/minecraft/entity/Entity;
-
getEntity
- Mappings:
Namespace Name Mixin selector official aLz;a(Lae;Ljava/lang/String;Ljava/lang/Class;)Lwv;intermediary method_10704Lnet/minecraft/class_955;method_10704(Lnet/minecraft/class_1061;Ljava/lang/String;Ljava/lang/Class;)Lnet/minecraft/class_864;named getEntityLnet/minecraft/command/AbstractCommand;getEntity(Lnet/minecraft/command/CommandSource;Ljava/lang/String;Ljava/lang/Class;)Lnet/minecraft/entity/Entity;
-
getEntities
- Mappings:
Namespace Name Mixin selector official cLz;c(Lae;Ljava/lang/String;)Ljava/util/List;intermediary method_10713Lnet/minecraft/class_955;method_10713(Lnet/minecraft/class_1061;Ljava/lang/String;)Ljava/util/List;named getEntitiesLnet/minecraft/command/AbstractCommand;getEntities(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Ljava/util/List;
-
method_5468
- Mappings:
Namespace Name Mixin selector official dLz;d(Lae;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_10714
- Mappings:
Namespace Name Mixin selector official eLz;e(Lae;Ljava/lang/String;)Ljava/lang/String;intermediary method_10714Lnet/minecraft/class_955;method_10714(Lnet/minecraft/class_1061;Ljava/lang/String;)Ljava/lang/String;named method_10714Lnet/minecraft/command/AbstractCommand;method_10714(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Ljava/lang/String;
-
method_4635
- Mappings:
Namespace Name Mixin selector official aLz;a(Lae;[Ljava/lang/String;I)Lho;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 bLz;b(Lae;[Ljava/lang/String;IZ)Lho;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_10706
- Mappings:
Namespace Name Mixin selector official aLz;a([Ljava/lang/String;I)Ljava/lang/String;intermediary method_10706Lnet/minecraft/class_955;method_10706([Ljava/lang/String;I)Ljava/lang/String;named method_10706Lnet/minecraft/command/AbstractCommand;method_10706([Ljava/lang/String;I)Ljava/lang/String;
-
method_10700
- Mappings:
Namespace Name Mixin selector official aLz;a(DLjava/lang/String;Z)Laa;intermediary method_10700Lnet/minecraft/class_955;method_10700(DLjava/lang/String;Z)Lnet/minecraft/class_2588;named method_10700Lnet/minecraft/command/AbstractCommand;method_10700(DLjava/lang/String;Z)Lnet/minecraft/class_2588;
-
method_10699
public static class_2588 method_10699(double double2, String string, int int2, int int3, boolean bool) - Mappings:
Namespace Name Mixin selector official aLz;a(DLjava/lang/String;IIZ)Laa;intermediary method_10699Lnet/minecraft/class_955;method_10699(DLjava/lang/String;IIZ)Lnet/minecraft/class_2588;named method_10699Lnet/minecraft/command/AbstractCommand;method_10699(DLjava/lang/String;IIZ)Lnet/minecraft/class_2588;
-
parseDouble
- Mappings:
Namespace Name Mixin selector official bLz;b(DLjava/lang/String;Z)Dintermediary method_10709Lnet/minecraft/class_955;method_10709(DLjava/lang/String;Z)Dnamed parseDoubleLnet/minecraft/command/AbstractCommand;parseDouble(DLjava/lang/String;Z)D
-
parseDouble
- Mappings:
Namespace Name Mixin selector official bLz;b(DLjava/lang/String;IIZ)Dintermediary method_6333Lnet/minecraft/class_955;method_6333(DLjava/lang/String;IIZ)Dnamed parseDoubleLnet/minecraft/command/AbstractCommand;parseDouble(DLjava/lang/String;IIZ)D
-
getItem
- Mappings:
Namespace Name Mixin selector official fLz;f(Lae;Ljava/lang/String;)Lalq;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 gLz;g(Lae;Ljava/lang/String;)Latr;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 aLz;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;
-
concat
- Mappings:
Namespace Name Mixin selector official aLz;a(Ljava/util/List;)Lho;intermediary method_10703Lnet/minecraft/class_955;method_10703(Ljava/util/List;)Lnet/minecraft/class_1982;named concatLnet/minecraft/command/AbstractCommand;concat(Ljava/util/List;)Lnet/minecraft/text/Text;
-
concat
- Mappings:
Namespace Name Mixin selector official aLz;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_10707
- Mappings:
Namespace Name Mixin selector official aLz;a([Ljava/lang/String;ILdt;)Ljava/util/List;intermediary method_10707Lnet/minecraft/class_955;method_10707([Ljava/lang/String;ILnet/minecraft/class_2552;)Ljava/util/List;named method_10707Lnet/minecraft/command/AbstractCommand;method_10707([Ljava/lang/String;ILnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
method_2883
- Mappings:
Namespace Name Mixin selector official aLz;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 aLz;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_10708
- Mappings:
Namespace Name Mixin selector official aLz;a([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;intermediary method_10708Lnet/minecraft/class_955;method_10708([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;named method_10708Lnet/minecraft/command/AbstractCommand;method_10708([Ljava/lang/String;Ljava/util/Collection;)Ljava/util/List;
-
isUsernameAtIndex
- Specified by:
isUsernameAtIndexin interfaceCommand- Mappings:
Namespace Name Mixin selector official bLac;b([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
-
run
- Mappings:
Namespace Name Mixin selector official aLz;a(Lae;Lac;Ljava/lang/String;[Ljava/lang/Object;)Vintermediary method_2890Lnet/minecraft/class_955;method_2890(Lnet/minecraft/class_1061;Lnet/minecraft/class_1007;Ljava/lang/String;[Ljava/lang/Object;)Vnamed runLnet/minecraft/command/AbstractCommand;run(Lnet/minecraft/command/CommandSource;Lnet/minecraft/command/Command;Ljava/lang/String;[Ljava/lang/Object;)V
-
run
public static void run(CommandSource source, Command command, int permissionLevel, String label, Object[] args) - Mappings:
Namespace Name Mixin selector official aLz;a(Lae;Lac;ILjava/lang/String;[Ljava/lang/Object;)Vintermediary method_2886Lnet/minecraft/class_955;method_2886(Lnet/minecraft/class_1061;Lnet/minecraft/class_1007;ILjava/lang/String;[Ljava/lang/Object;)Vnamed runLnet/minecraft/command/AbstractCommand;run(Lnet/minecraft/command/CommandSource;Lnet/minecraft/command/Command;ILjava/lang/String;[Ljava/lang/Object;)V
-
setCommandProvider
- Mappings:
Namespace Name Mixin selector official aLz;a(Ly;)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 aLz;a(Lac;)Iintermediary method_2885Lnet/minecraft/class_955;method_2885(Lnet/minecraft/class_1007;)Inamed compareToLnet/minecraft/command/AbstractCommand;compareTo(Lnet/minecraft/command/Command;)I
-