Interface Command

All Superinterfaces:
Comparable<Command>
All Known Implementing Classes:
AbstractCommand, AchievementCommand, BanCommand, BanIpCommand, BanListCommand, BlockDataCommand, class_3029, class_3064, ClearCommand, CloneCommand, DebugCommand, DefaultGameModeCommand, 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, StopSoundCommand, SummonCommand, TeleportCommand, TellRawCommand, TestForBlockCommand, TestForBlocksCommand, TestForCommand, TimeCommand, TitleCommand, ToggleDownfallCommand, TriggerCommand, WeatherCommand, WhitelistCommand, WorldBorderCommand

public interface Command extends Comparable<Command>
Mappings:
Namespace Name
official l
intermediary net/minecraft/class_1007
named net/minecraft/command/Command
  • Method Details

    • getCommandName

      String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Ll;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;
    • getUsageTranslationKey

      String getUsageTranslationKey(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official b Ll;b(Ln;)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;
    • getAliases

      List<String> getAliases()
      Mappings:
      Namespace Name Mixin selector
      official b Ll;b()Ljava/util/List;
      intermediary method_3274 Lnet/minecraft/class_1007;method_3274()Ljava/util/List;
      named getAliases Lnet/minecraft/command/Command;getAliases()Ljava/util/List;
    • method_3279

      void method_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Ll;a(Lnet/minecraft/server/MinecraftServer;Ln;[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_3278

      boolean method_3278(MinecraftServer server, CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Ll;a(Lnet/minecraft/server/MinecraftServer;Ln;)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
    • method_10738

      List<String> method_10738(MinecraftServer server, CommandSource source, String[] string, @Nullable BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ll;a(Lnet/minecraft/server/MinecraftServer;Ln;[Ljava/lang/String;Lco;)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;
    • isUsernameAtIndex

      boolean isUsernameAtIndex(String[] args, int index)
      Mappings:
      Namespace Name Mixin selector
      official b Ll;b([Ljava/lang/String;I)Z
      intermediary method_4674 Lnet/minecraft/class_1007;method_4674([Ljava/lang/String;I)Z
      named isUsernameAtIndex Lnet/minecraft/command/Command;isUsernameAtIndex([Ljava/lang/String;I)Z