Interface Command

All Superinterfaces:
Comparable
All Known Implementing Classes:
AbstractCommand, AchievementCommand, BanCommand, BanIpCommand, BanListCommand, ClearCommand, DebugCommand, DefaultGameModeCommand, 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

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

    • getCommandName

      String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Laa;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 c Laa;c(Lac;)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 getAliases()
      Mappings:
      Namespace Name Mixin selector
      official b Laa;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;
    • execute

      void execute(CommandSource source, String[] args)
      Mappings:
      Namespace Name Mixin selector
      official b Laa;b(Lac;[Ljava/lang/String;)V
      intermediary method_3279 Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/class_1061;[Ljava/lang/String;)V
      named execute Lnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • isAccessible

      boolean isAccessible(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Laa;a(Lac;)Z
      intermediary method_3278 Lnet/minecraft/class_1007;method_3278(Lnet/minecraft/class_1061;)Z
      named isAccessible Lnet/minecraft/command/Command;isAccessible(Lnet/minecraft/command/CommandSource;)Z
    • method_3276

      List method_3276(CommandSource source, String[] string)
      Mappings:
      Namespace Name Mixin selector
      official a Laa;a(Lac;[Ljava/lang/String;)Ljava/util/List;
      intermediary method_3276 Lnet/minecraft/class_1007;method_3276(Lnet/minecraft/class_1061;[Ljava/lang/String;)Ljava/util/List;
      named method_3276 Lnet/minecraft/command/Command;method_3276(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)Ljava/util/List;
    • isUsernameAtIndex

      boolean isUsernameAtIndex(String[] args, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Laa;a([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