Package net.minecraft.world
Class CommandBlockExecutor
java.lang.Object
net.minecraft.world.CommandBlockExecutor
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official ahjintermediary net/minecraft/class_1740named net/minecraft/world/CommandBlockExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate final CommandStatsprivate static final SimpleDateFormatprivate Textprivate Stringprivate intprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) voidvoidfromNbt(NbtCompound nbt) intabstract intgetType()booleaninteract(PlayerEntity player) booleanabstract voidvoidmethod_11470(int int2) booleanvoidsendMessage(Text text) voidsetCommand(String command) voidsetLastOutput(Text lastOutput) voidvoidsetStat(CommandStats.Type statsType, int value) voidsetTrackOutput(boolean trackOutput) toNbt(NbtCompound nbt) abstract voidwriteEntityId(ByteBuf byteBuf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.command.CommandSource
getBlockPos, getEntity, getMinecraftServer, getPos, getWorld
-
Field Details
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official aLahj;a:Ljava/text/SimpleDateFormat;intermediary field_7166Lnet/minecraft/class_1740;field_7166:Ljava/text/SimpleDateFormat;named DATE_FORMATLnet/minecraft/world/CommandBlockExecutor;DATE_FORMAT:Ljava/text/SimpleDateFormat;
-
successCount
private int successCount- Mappings:
Namespace Name Mixin selector official bLahj;b:Iintermediary field_7167Lnet/minecraft/class_1740;field_7167:Inamed successCountLnet/minecraft/world/CommandBlockExecutor;successCount:I
-
trackOutput
private boolean trackOutput- Mappings:
Namespace Name Mixin selector official cLahj;c:Zintermediary field_7168Lnet/minecraft/class_1740;field_7168:Znamed trackOutputLnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
-
lastOutput
- Mappings:
Namespace Name Mixin selector official dLahj;d:Lew;intermediary field_7169Lnet/minecraft/class_1740;field_7169:Lnet/minecraft/class_1982;named lastOutputLnet/minecraft/world/CommandBlockExecutor;lastOutput:Lnet/minecraft/text/Text;
-
command
- Mappings:
Namespace Name Mixin selector official eLahj;e:Ljava/lang/String;intermediary field_7170Lnet/minecraft/class_1740;field_7170:Ljava/lang/String;named commandLnet/minecraft/world/CommandBlockExecutor;command:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official fLahj;f:Ljava/lang/String;intermediary field_7171Lnet/minecraft/class_1740;field_7171:Ljava/lang/String;named nameLnet/minecraft/world/CommandBlockExecutor;name:Ljava/lang/String;
-
commandStats
- Mappings:
Namespace Name Mixin selector official gLahj;g:Lo;intermediary field_9196Lnet/minecraft/class_1740;field_9196:Lnet/minecraft/class_2598;named commandStatsLnet/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 kLahj;k()Iintermediary method_6403Lnet/minecraft/class_1740;method_6403()Inamed getSuccessCountLnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
-
method_11470
public void method_11470(int int2) - Mappings:
Namespace Name Mixin selector official aLahj;a(I)Vintermediary method_11470Lnet/minecraft/class_1740;method_11470(I)Vnamed method_11470Lnet/minecraft/world/CommandBlockExecutor;method_11470(I)V
-
method_11471
- Mappings:
Namespace Name Mixin selector official lLahj;l()Lew;intermediary method_11471Lnet/minecraft/class_1740;method_11471()Lnet/minecraft/class_1982;named method_11471Lnet/minecraft/world/CommandBlockExecutor;method_11471()Lnet/minecraft/text/Text;
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLahj;a(Ldq;)Ldq;intermediary method_6395Lnet/minecraft/class_1740;method_6395(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;named toNbtLnet/minecraft/world/CommandBlockExecutor;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
fromNbt
- Mappings:
Namespace Name Mixin selector official bLahj;b(Ldq;)Vintermediary method_6398Lnet/minecraft/class_1740;method_6398(Lnet/minecraft/class_322;)Vnamed fromNbtLnet/minecraft/world/CommandBlockExecutor;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canUseCommand
- Specified by:
canUseCommandin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLn;a(ILjava/lang/String;)Zintermediary method_3333Lnet/minecraft/class_1061;method_3333(ILjava/lang/String;)Znamed canUseCommandLnet/minecraft/command/CommandSource;canUseCommand(ILjava/lang/String;)Z
-
setCommand
- Mappings:
Namespace Name Mixin selector official aLahj;a(Ljava/lang/String;)Vintermediary method_6397Lnet/minecraft/class_1740;method_6397(Ljava/lang/String;)Vnamed setCommandLnet/minecraft/world/CommandBlockExecutor;setCommand(Ljava/lang/String;)V
-
getCommand
- Mappings:
Namespace Name Mixin selector official mLahj;m()Ljava/lang/String;intermediary method_6405Lnet/minecraft/class_1740;method_6405()Ljava/lang/String;named getCommandLnet/minecraft/world/CommandBlockExecutor;getCommand()Ljava/lang/String;
-
execute
- Mappings:
Namespace Name Mixin selector official aLahj;a(Laht;)Vintermediary method_6394Lnet/minecraft/class_1740;method_6394(Lnet/minecraft/class_1150;)Vnamed executeLnet/minecraft/world/CommandBlockExecutor;execute(Lnet/minecraft/world/World;)V
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official h_Ln;h_()Ljava/lang/String;intermediary method_2518Lnet/minecraft/class_1061;method_2518()Ljava/lang/String;named getTranslationKeyLnet/minecraft/command/CommandSource;getTranslationKey()Ljava/lang/String;
-
method_6344
- Specified by:
method_6344in interfaceCommandSource- Mappings:
Namespace Name Mixin selector official i_Ln;i_()Lew;intermediary method_6344Lnet/minecraft/class_1061;method_6344()Lnet/minecraft/class_1982;named method_6344Lnet/minecraft/command/CommandSource;method_6344()Lnet/minecraft/text/Text;
-
setName
- Mappings:
Namespace Name Mixin selector official bLahj;b(Ljava/lang/String;)Vintermediary method_6400Lnet/minecraft/class_1740;method_6400(Ljava/lang/String;)Vnamed setNameLnet/minecraft/world/CommandBlockExecutor;setName(Ljava/lang/String;)V
-
sendMessage
- Specified by:
sendMessagein interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLn;a(Lew;)Vintermediary method_5505Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)Vnamed sendMessageLnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
-
sendCommandFeedback
public boolean sendCommandFeedback()- Specified by:
sendCommandFeedbackin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official z_Ln;z_()Zintermediary method_10789Lnet/minecraft/class_1061;method_10789()Znamed sendCommandFeedbackLnet/minecraft/command/CommandSource;sendCommandFeedback()Z
-
setStat
- Specified by:
setStatin interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLn;a(Lo$a;I)Vintermediary method_10786Lnet/minecraft/class_1061;method_10786(Lnet/minecraft/class_2598$class_2599;I)Vnamed setStatLnet/minecraft/command/CommandSource;setStat(Lnet/minecraft/command/CommandStats$Type;I)V
-
markDirty
public abstract void markDirty()- Mappings:
Namespace Name Mixin selector official iLahj;i()Vintermediary method_6401Lnet/minecraft/class_1740;method_6401()Vnamed markDirtyLnet/minecraft/world/CommandBlockExecutor;markDirty()V
-
getType
- Mappings:
Namespace Name Mixin selector official jLahj;j()Iintermediary method_6402Lnet/minecraft/class_1740;method_6402()Inamed getTypeLnet/minecraft/world/CommandBlockExecutor;getType()I
-
writeEntityId
- Mappings:
Namespace Name Mixin selector official aLahj;a(Lio/netty/buffer/ByteBuf;)Vintermediary method_6396Lnet/minecraft/class_1740;method_6396(Lio/netty/buffer/ByteBuf;)Vnamed writeEntityIdLnet/minecraft/world/CommandBlockExecutor;writeEntityId(Lio/netty/buffer/ByteBuf;)V
-
setLastOutput
- Mappings:
Namespace Name Mixin selector official bLahj;b(Lew;)Vintermediary method_6399Lnet/minecraft/class_1740;method_6399(Lnet/minecraft/class_1982;)Vnamed setLastOutputLnet/minecraft/world/CommandBlockExecutor;setLastOutput(Lnet/minecraft/text/Text;)V
-
setTrackOutput
public void setTrackOutput(boolean trackOutput) - Mappings:
Namespace Name Mixin selector official aLahj;a(Z)Vintermediary method_8456Lnet/minecraft/class_1740;method_8456(Z)Vnamed setTrackOutputLnet/minecraft/world/CommandBlockExecutor;setTrackOutput(Z)V
-
isTrackingOutput
public boolean isTrackingOutput()- Mappings:
Namespace Name Mixin selector official nLahj;n()Zintermediary method_8457Lnet/minecraft/class_1740;method_8457()Znamed isTrackingOutputLnet/minecraft/world/CommandBlockExecutor;isTrackingOutput()Z
-
interact
- Mappings:
Namespace Name Mixin selector official aLahj;a(Lzj;)Zintermediary method_8455Lnet/minecraft/class_1740;method_8455(Lnet/minecraft/class_988;)Znamed interactLnet/minecraft/world/CommandBlockExecutor;interact(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getCommandStats
- Mappings:
Namespace Name Mixin selector official oLahj;o()Lo;intermediary method_8458Lnet/minecraft/class_1740;method_8458()Lnet/minecraft/class_2598;named getCommandStatsLnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;
-