Package net.minecraft.world
Class CommandBlockExecutor
java.lang.Object
net.minecraft.world.CommandBlockExecutor
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official adcintermediary 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_6395(NbtCompound nbtCompound) booleanvoidsendMessage(Text text) voidsetCommand(String command) voidsetLastOutput(Text lastOutput) voidvoidsetStat(CommandStats.Type statsType, int value) voidsetTrackOutput(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 aLadc;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 bLadc;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 cLadc;c:Zintermediary field_7168Lnet/minecraft/class_1740;field_7168:Znamed trackOutputLnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
-
lastOutput
- Mappings:
Namespace Name Mixin selector official dLadc;d:Leu;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 eLadc;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 fLadc;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 gLadc;g:Ln;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 jLadc;j()Iintermediary method_6403Lnet/minecraft/class_1740;method_6403()Inamed getSuccessCountLnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
-
getLastOutput
- Mappings:
Namespace Name Mixin selector official kLadc;k()Leu;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 aLadc;a(Ldn;)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 bLadc;b(Ldn;)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 aLm;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 aLadc;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 lLadc;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 aLadc;a(Ladm;)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 e_Lm;e_()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 f_Lm;f_()Leu;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 bLadc;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 aLm;a(Leu;)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 u_Lm;u_()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 aLm;a(Ln$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 hLadc;h()Vintermediary method_6401Lnet/minecraft/class_1740;method_6401()Vnamed markDirtyLnet/minecraft/world/CommandBlockExecutor;markDirty()V
-
getType
- Mappings:
Namespace Name Mixin selector official iLadc;i()Iintermediary method_6402Lnet/minecraft/class_1740;method_6402()Inamed getTypeLnet/minecraft/world/CommandBlockExecutor;getType()I
-
writeEntityId
- Mappings:
Namespace Name Mixin selector official aLadc;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 bLadc;b(Leu;)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 aLadc;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 mLadc;m()Zintermediary method_8457Lnet/minecraft/class_1740;method_8457()Znamed isTrackingOutputLnet/minecraft/world/CommandBlockExecutor;isTrackingOutput()Z
-
interact
- Mappings:
Namespace Name Mixin selector official aLadc;a(Lwn;)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 nLadc;n()Ln;intermediary method_8458Lnet/minecraft/class_1740;method_8458()Lnet/minecraft/class_2598;named getCommandStatsLnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;
-