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_1740
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_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 Ladc;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 Ladc;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 Ladc;d:Leu;
      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 Ladc;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 Ladc;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;
    • commandStats

      private final CommandStats commandStats
      Mappings:
      Namespace Name Mixin selector
      official g Ladc;g:Ln;
      intermediary field_9196 Lnet/minecraft/class_1740;field_9196:Lnet/minecraft/class_2598;
      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_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 k Ladc;k()Leu;
      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 Ladc;a(Ldn;)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 Ladc;b(Ldn;)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 Lm;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 Ladc;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 l Ladc;l()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 Ladc;a(Ladm;)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
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official e_ Lm;e_()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

      public Text method_6344()
      Specified by:
      method_6344 in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official f_ Lm;f_()Leu;
      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 Ladc;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 Lm;a(Leu;)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
    • sendCommandFeedback

      public boolean sendCommandFeedback()
      Specified by:
      sendCommandFeedback in interface CommandSource
      Mappings:
      Namespace Name Mixin selector
      official u_ Lm;u_()Z
      intermediary method_10789 Lnet/minecraft/class_1061;method_10789()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_10786 Lnet/minecraft/class_1061;method_10786(Lnet/minecraft/class_2598$class_2599;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_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 i Ladc;i()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 Ladc;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 Ladc;b(Leu;)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
    • setTrackOutput

      public void setTrackOutput(boolean trackOutput)
      Mappings:
      Namespace Name Mixin selector
      official a Ladc;a(Z)V
      intermediary method_8456 Lnet/minecraft/class_1740;method_8456(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_8457 Lnet/minecraft/class_1740;method_8457()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_8455 Lnet/minecraft/class_1740;method_8455(Lnet/minecraft/class_988;)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_8458 Lnet/minecraft/class_1740;method_8458()Lnet/minecraft/class_2598;
      named getCommandStats Lnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;