Class CommandBlockExecutor

java.lang.Object
net.minecraft.world.CommandBlockExecutor
All Implemented Interfaces:
CommandSource
Direct Known Subclasses:
class_1766, class_2156

public abstract class CommandBlockExecutor extends Object implements CommandSource
Mappings:
Namespace Name
official afa
intermediary net/minecraft/class_1740
named net/minecraft/world/CommandBlockExecutor
  • Field Details

    • DATE_FORMAT

      private static final SimpleDateFormat DATE_FORMAT
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a:Ljava/text/SimpleDateFormat;
      intermediary field_7166 Lnet/minecraft/class_1740;field_7166:Ljava/text/SimpleDateFormat;
      named DATE_FORMAT Lnet/minecraft/world/CommandBlockExecutor;DATE_FORMAT:Ljava/text/SimpleDateFormat;
    • successCount

      private int successCount
      Mappings:
      Namespace Name Mixin selector
      official b Lafa;b:I
      intermediary field_7167 Lnet/minecraft/class_1740;field_7167:I
      named successCount Lnet/minecraft/world/CommandBlockExecutor;successCount:I
    • trackOutput

      private boolean trackOutput
      Mappings:
      Namespace Name Mixin selector
      official c Lafa;c:Z
      intermediary field_7168 Lnet/minecraft/class_1740;field_7168:Z
      named trackOutput Lnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
    • lastOutput

      private Text lastOutput
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d:Lez;
      intermediary field_7169 Lnet/minecraft/class_1740;field_7169:Lnet/minecraft/class_1982;
      named lastOutput Lnet/minecraft/world/CommandBlockExecutor;lastOutput:Lnet/minecraft/text/Text;
    • command

      private String command
      Mappings:
      Namespace Name Mixin selector
      official e Lafa;e:Ljava/lang/String;
      intermediary field_7170 Lnet/minecraft/class_1740;field_7170:Ljava/lang/String;
      named command Lnet/minecraft/world/CommandBlockExecutor;command:Ljava/lang/String;
    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      official f Lafa;f:Ljava/lang/String;
      intermediary field_7171 Lnet/minecraft/class_1740;field_7171:Ljava/lang/String;
      named name Lnet/minecraft/world/CommandBlockExecutor;name:Ljava/lang/String;
  • Constructor Details

    • CommandBlockExecutor

      public CommandBlockExecutor()
  • Method Details

    • getSuccessCount

      public int getSuccessCount()
      Mappings:
      Namespace Name Mixin selector
      official g Lafa;g()I
      intermediary method_6403 Lnet/minecraft/class_1740;method_6403()I
      named getSuccessCount Lnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
    • getLastOutput

      public Text getLastOutput()
      Mappings:
      Namespace Name Mixin selector
      official h Lafa;h()Lez;
      intermediary method_6404 Lnet/minecraft/class_1740;method_6404()Lnet/minecraft/class_1982;
      named getLastOutput Lnet/minecraft/world/CommandBlockExecutor;getLastOutput()Lnet/minecraft/text/Text;
    • method_6395

      public void method_6395(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Ldg;)V
      intermediary method_6395 Lnet/minecraft/class_1740;method_6395(Lnet/minecraft/class_322;)V
      named method_6395 Lnet/minecraft/world/CommandBlockExecutor;method_6395(Lnet/minecraft/nbt/NbtCompound;)V
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Lafa;b(Ldg;)V
      intermediary method_6398 Lnet/minecraft/class_1740;method_6398(Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/world/CommandBlockExecutor;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • canUseCommand

      public boolean canUseCommand(int permissionLevel, String commandLiteral)
      Specified by:
      canUseCommand in interface CommandSource
      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
    • setCommand

      public void setCommand(String command)
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Ljava/lang/String;)V
      intermediary method_6397 Lnet/minecraft/class_1740;method_6397(Ljava/lang/String;)V
      named setCommand Lnet/minecraft/world/CommandBlockExecutor;setCommand(Ljava/lang/String;)V
    • getCommand

      public String getCommand()
      Mappings:
      Namespace Name Mixin selector
      official i Lafa;i()Ljava/lang/String;
      intermediary method_6405 Lnet/minecraft/class_1740;method_6405()Ljava/lang/String;
      named getCommand Lnet/minecraft/world/CommandBlockExecutor;getCommand()Ljava/lang/String;
    • execute

      public void execute(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Lafm;)V
      intermediary method_6394 Lnet/minecraft/class_1740;method_6394(Lnet/minecraft/class_1150;)V
      named execute Lnet/minecraft/world/CommandBlockExecutor;execute(Lnet/minecraft/world/World;)V
    • getTranslatedName

      public String getTranslatedName()
      Specified by:
      getTranslatedName in interface CommandSource
      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 getTranslatedName Lnet/minecraft/command/CommandSource;getTranslatedName()Ljava/lang/String;
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface CommandSource
      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;
    • setName

      public void setName(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Lafa;b(Ljava/lang/String;)V
      intermediary method_6400 Lnet/minecraft/class_1740;method_6400(Ljava/lang/String;)V
      named setName Lnet/minecraft/world/CommandBlockExecutor;setName(Ljava/lang/String;)V
    • sendMessage

      public void sendMessage(Text text)
      Specified by:
      sendMessage in interface CommandSource
      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
    • markDirty

      public abstract void markDirty()
      Mappings:
      Namespace Name Mixin selector
      official e Lafa;e()V
      intermediary method_6401 Lnet/minecraft/class_1740;method_6401()V
      named markDirty Lnet/minecraft/world/CommandBlockExecutor;markDirty()V
    • getType

      @Environment(CLIENT) public abstract int getType()
      Mappings:
      Namespace Name Mixin selector
      official f Lafa;f()I
      intermediary method_6402 Lnet/minecraft/class_1740;method_6402()I
      named getType Lnet/minecraft/world/CommandBlockExecutor;getType()I
    • writeEntityId

      @Environment(CLIENT) public abstract void writeEntityId(ByteBuf byteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Lio/netty/buffer/ByteBuf;)V
      intermediary method_6396 Lnet/minecraft/class_1740;method_6396(Lio/netty/buffer/ByteBuf;)V
      named writeEntityId Lnet/minecraft/world/CommandBlockExecutor;writeEntityId(Lio/netty/buffer/ByteBuf;)V
    • setLastOutput

      public void setLastOutput(Text lastOutput)
      Mappings:
      Namespace Name Mixin selector
      official b Lafa;b(Lez;)V
      intermediary method_6399 Lnet/minecraft/class_1740;method_6399(Lnet/minecraft/class_1982;)V
      named setLastOutput Lnet/minecraft/world/CommandBlockExecutor;setLastOutput(Lnet/minecraft/text/Text;)V