Interface CommandSource

All Known Implementing Classes:
AbstractClientPlayerEntity, class_1766, class_2156, class_481, ClientPlayerEntity, CommandBlockExecutor, Console, IntegratedServer, MinecraftDedicatedServer, MinecraftServer, OtherClientPlayerEntity, PlayerEntity, ServerPlayerEntity

public interface CommandSource
Mappings:
Namespace Name
official ac
intermediary net/minecraft/class_1061
named net/minecraft/command/CommandSource
  • Method Details

    • getTranslationKey

      String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official b_ Lac;b_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_1061;method_2518()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/command/CommandSource;getTranslationKey()Ljava/lang/String;
    • method_6344

      Text method_6344()
      Mappings:
      Namespace Name Mixin selector
      official c_ Lac;c_()Lez;
      intermediary method_6344 Lnet/minecraft/class_1061;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/command/CommandSource;method_6344()Lnet/minecraft/text/Text;
    • sendMessage

      void sendMessage(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lac;a(Lez;)V
      intermediary method_5505 Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)V
      named sendMessage Lnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
    • canUseCommand

      boolean canUseCommand(int permissionLevel, String commandLiteral)
      Mappings:
      Namespace Name Mixin selector
      official a Lac;a(ILjava/lang/String;)Z
      intermediary method_3333 Lnet/minecraft/class_1061;method_3333(ILjava/lang/String;)Z
      named canUseCommand Lnet/minecraft/command/CommandSource;canUseCommand(ILjava/lang/String;)Z
    • method_4086

      BlockPos method_4086()
      Mappings:
      Namespace Name Mixin selector
      official f_ Lac;f_()Lr;
      intermediary method_4086 Lnet/minecraft/class_1061;method_4086()Lnet/minecraft/class_851;
      named method_4086 Lnet/minecraft/command/CommandSource;method_4086()Lnet/minecraft/util/math/BlockPos;
    • getWorld

      World getWorld()
      Mappings:
      Namespace Name Mixin selector
      official d Lac;d()Lafm;
      intermediary method_5506 Lnet/minecraft/class_1061;method_5506()Lnet/minecraft/class_1150;
      named getWorld Lnet/minecraft/command/CommandSource;getWorld()Lnet/minecraft/world/World;