Package net.minecraft.world
Class CommandBlockExecutor
java.lang.Object
net.minecraft.world.CommandBlockExecutor
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
class_4540,class_4671
- Mappings:
Namespace Name official aqfintermediary 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_10786(class_2599 class_2599, int int2) voidmethod_6395(NbtCompound nbtCompound) booleanvoidsendMessage(Text text) voidsetCommand(String command) voidsetLastOutput(Text lastOutput) voidvoidsetTrackOutput(boolean trackOutput) 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, getPos, getWorld
-
Field Details
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official aLaqf;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 bLaqf;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 cLaqf;c:Zintermediary field_7168Lnet/minecraft/class_1740;field_7168:Znamed trackOutputLnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
-
lastOutput
- Mappings:
Namespace Name Mixin selector official dLaqf;d:Lho;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 eLaqf;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 fLaqf;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 gLaqf;g:Laf;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 jLaqf;j()Iintermediary method_6403Lnet/minecraft/class_1740;method_6403()Inamed getSuccessCountLnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
-
getLastOutput
- Mappings:
Namespace Name Mixin selector official kLaqf;k()Lho;intermediary method_6404Lnet/minecraft/class_1740;method_6404()Lnet/minecraft/class_1982;named getLastOutputLnet/minecraft/world/CommandBlockExecutor;getLastOutput()Lnet/minecraft/text/Text;
-
method_6395
- Mappings:
Namespace Name Mixin selector official aLaqf;a(Lfn;)Vintermediary method_6395Lnet/minecraft/class_1740;method_6395(Lnet/minecraft/class_322;)Vnamed method_6395Lnet/minecraft/world/CommandBlockExecutor;method_6395(Lnet/minecraft/nbt/NbtCompound;)V
-
fromNbt
- Mappings:
Namespace Name Mixin selector official bLaqf;b(Lfn;)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 aLae;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 aLaqf;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 lLaqf;l()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 aLaqf;a(Laqu;)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 d_Lae;d_()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 e_Lae;e_()Lho;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 bLaqf;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 aLae;a(Lho;)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 t_Lae;t_()Zintermediary method_10789Lnet/minecraft/class_1061;method_10789()Znamed sendCommandFeedbackLnet/minecraft/command/CommandSource;sendCommandFeedback()Z
-
method_10786
- Specified by:
method_10786in interfaceCommandSource- Mappings:
Namespace Name Mixin selector official aLae;a(Lag;I)Vintermediary method_10786Lnet/minecraft/class_1061;method_10786(Lnet/minecraft/class_2599;I)Vnamed method_10786Lnet/minecraft/command/CommandSource;method_10786(Lnet/minecraft/class_2599;I)V
-
markDirty
public abstract void markDirty()- Mappings:
Namespace Name Mixin selector official hLaqf;h()Vintermediary method_6401Lnet/minecraft/class_1740;method_6401()Vnamed markDirtyLnet/minecraft/world/CommandBlockExecutor;markDirty()V
-
getType
- Mappings:
Namespace Name Mixin selector official iLaqf;i()Iintermediary method_6402Lnet/minecraft/class_1740;method_6402()Inamed getTypeLnet/minecraft/world/CommandBlockExecutor;getType()I
-
writeEntityId
- Mappings:
Namespace Name Mixin selector official aLaqf;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 bLaqf;b(Lho;)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 aLaqf;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 mLaqf;m()Zintermediary method_8457Lnet/minecraft/class_1740;method_8457()Znamed isTrackingOutputLnet/minecraft/world/CommandBlockExecutor;isTrackingOutput()Z
-
interact
- Mappings:
Namespace Name Mixin selector official aLaqf;a(Lahd;)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 nLaqf;n()Laf;intermediary method_8458Lnet/minecraft/class_1740;method_8458()Lnet/minecraft/class_2598;named getCommandStatsLnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;
-