Class CommandBlockExecutor

java.lang.Object
net.minecraft.world.CommandBlockExecutor
All Implemented Interfaces:
CommandSource

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

    • DATE_FORMAT

      private static final SimpleDateFormat DATE_FORMAT
      Mappings:
      Namespace Name Mixin selector
      official a Ladc;a:Ljava/text/SimpleDateFormat;
      intermediary field_189 Lnet/minecraft/class_87;field_189: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 Ladc;b:I
      intermediary field_190 Lnet/minecraft/class_87;field_190:I
      named successCount Lnet/minecraft/world/CommandBlockExecutor;successCount:I
    • trackOutput

      private boolean trackOutput
      Mappings:
      Namespace Name Mixin selector
      official c Ladc;c:Z
      intermediary field_191 Lnet/minecraft/class_87;field_191:Z
      named trackOutput Lnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
    • lastOutput

      private Text lastOutput
      Mappings:
      Namespace Name Mixin selector
      official d Ladc;d:Leu;
      intermediary field_192 Lnet/minecraft/class_87;field_192:Lnet/minecraft/class_1444;
      named lastOutput Lnet/minecraft/world/CommandBlockExecutor;lastOutput:Lnet/minecraft/text/Text;
    • command

      private String command
      Mappings:
      Namespace Name Mixin selector
      official e Ladc;e:Ljava/lang/String;
      intermediary field_193 Lnet/minecraft/class_87;field_193:Ljava/lang/String;
      named command Lnet/minecraft/world/CommandBlockExecutor;command:Ljava/lang/String;
    • name

      private String name
      Mappings:
      Namespace Name Mixin selector
      official f Ladc;f:Ljava/lang/String;
      intermediary field_194 Lnet/minecraft/class_87;field_194:Ljava/lang/String;
      named name Lnet/minecraft/world/CommandBlockExecutor;name:Ljava/lang/String;
    • commandStats

      private final CommandStats commandStats
      Mappings:
      Namespace Name Mixin selector
      official g Ladc;g:Ln;
      intermediary field_195 Lnet/minecraft/class_87;field_195:Lnet/minecraft/class_1685;
      named commandStats Lnet/minecraft/world/CommandBlockExecutor;commandStats:Lnet/minecraft/command/CommandStats;
  • Constructor Details

    • CommandBlockExecutor

      public CommandBlockExecutor()
  • Method Details

    • getSuccessCount

      public int getSuccessCount()
      Mappings:
      Namespace Name Mixin selector
      official j Ladc;j()I
      intermediary method_165 Lnet/minecraft/class_87;method_165()I
      named getSuccessCount Lnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
    • getLastOutput

      public Text getLastOutput()
      Mappings:
      Namespace Name Mixin selector
      official k Ladc;k()Leu;
      intermediary method_166 Lnet/minecraft/class_87;method_166()Lnet/minecraft/class_1444;
      named getLastOutput Lnet/minecraft/world/CommandBlockExecutor;getLastOutput()Lnet/minecraft/text/Text;
    • toTag

      public void toTag​(CompoundTag nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ladc;a(Ldn;)V
      intermediary method_155 Lnet/minecraft/class_87;method_155(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/world/CommandBlockExecutor;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • fromTag

      public void fromTag​(CompoundTag nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Ladc;b(Ldn;)V
      intermediary method_160 Lnet/minecraft/class_87;method_160(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/world/CommandBlockExecutor;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • canUseCommand

      public boolean canUseCommand​(int permissionLevel, String commandLiteral)
      Specified by:
      canUseCommand in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official a Lm;a(ILjava/lang/String;)Z
      intermediary method_6255 Lnet/minecraft/class_1659;method_6255(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 Ladc;a(Ljava/lang/String;)V
      intermediary method_157 Lnet/minecraft/class_87;method_157(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 l Ladc;l()Ljava/lang/String;
      intermediary method_167 Lnet/minecraft/class_87;method_167()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 Ladc;a(Ladm;)V
      intermediary method_154 Lnet/minecraft/class_87;method_154(Lnet/minecraft/class_99;)V
      named execute Lnet/minecraft/world/CommandBlockExecutor;execute(Lnet/minecraft/world/World;)V
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official method_6261 Lm;method_6261()Ljava/lang/String;
      intermediary method_6261 Lnet/minecraft/class_1659;method_6261()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/command/CommandSource;getTranslationKey()Ljava/lang/String;
    • getName

      public Text getName()
      Specified by:
      getName in interface CommandSource
    • setName

      public void setName​(String name)
      Mappings:
      Namespace Name Mixin selector
      official b Ladc;b(Ljava/lang/String;)V
      intermediary method_162 Lnet/minecraft/class_87;method_162(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 Lm;a(Leu;)V
      intermediary method_6256 Lnet/minecraft/class_1659;method_6256(Lnet/minecraft/class_1444;)V
      named sendMessage Lnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
    • sendCommandFeedback

      public boolean sendCommandFeedback()
      Specified by:
      sendCommandFeedback in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official u_ Lm;u_()Z
      intermediary method_6263 Lnet/minecraft/class_1659;method_6263()Z
      named sendCommandFeedback Lnet/minecraft/command/CommandSource;sendCommandFeedback()Z
    • setStat

      public void setStat​(CommandStats.Type statsType, int value)
      Specified by:
      setStat in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official a Lm;a(Ln$a;I)V
      intermediary method_6257 Lnet/minecraft/class_1659;method_6257(Lnet/minecraft/class_1685$class_1686;I)V
      named setStat Lnet/minecraft/command/CommandSource;setStat(Lnet/minecraft/command/CommandStats$Type;I)V
    • markDirty

      public abstract void markDirty()
      Mappings:
      Namespace Name Mixin selector
      official h Ladc;h()V
      intermediary method_163 Lnet/minecraft/class_87;method_163()V
      named markDirty Lnet/minecraft/world/CommandBlockExecutor;markDirty()V
    • getType

      @Environment(CLIENT) public abstract int getType()
      Mappings:
      Namespace Name Mixin selector
      official i Ladc;i()I
      intermediary method_164 Lnet/minecraft/class_87;method_164()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 Ladc;a(Lio/netty/buffer/ByteBuf;)V
      intermediary method_156 Lnet/minecraft/class_87;method_156(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 Ladc;b(Leu;)V
      intermediary method_161 Lnet/minecraft/class_87;method_161(Lnet/minecraft/class_1444;)V
      named setLastOutput Lnet/minecraft/world/CommandBlockExecutor;setLastOutput(Lnet/minecraft/text/Text;)V
    • setTrackOutput

      public void setTrackOutput​(boolean trackOutput)
      Mappings:
      Namespace Name Mixin selector
      official a Ladc;a(Z)V
      intermediary method_159 Lnet/minecraft/class_87;method_159(Z)V
      named setTrackOutput Lnet/minecraft/world/CommandBlockExecutor;setTrackOutput(Z)V
    • isTrackingOutput

      public boolean isTrackingOutput()
      Mappings:
      Namespace Name Mixin selector
      official m Ladc;m()Z
      intermediary method_168 Lnet/minecraft/class_87;method_168()Z
      named isTrackingOutput Lnet/minecraft/world/CommandBlockExecutor;isTrackingOutput()Z
    • interact

      public boolean interact​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Ladc;a(Lwn;)Z
      intermediary method_158 Lnet/minecraft/class_87;method_158(Lnet/minecraft/class_1963;)Z
      named interact Lnet/minecraft/world/CommandBlockExecutor;interact(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • getCommandStats

      public CommandStats getCommandStats()
      Mappings:
      Namespace Name Mixin selector
      official n Ladc;n()Ln;
      intermediary method_169 Lnet/minecraft/class_87;method_169()Lnet/minecraft/class_1685;
      named getCommandStats Lnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;