Package net.minecraft.world
Class CommandBlockExecutor
java.lang.Object
net.minecraft.world.CommandBlockExecutor
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
class_1766,class_2156
- Mappings:
Namespace Name official afaintermediary net/minecraft/class_1740named net/minecraft/world/CommandBlockExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final SimpleDateFormatprivate Textprivate Stringprivate intprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) voidvoidfromNbt(NbtCompound nbt) intabstract intgetType()abstract voidvoidmethod_6395(NbtCompound nbtCompound) voidsendMessage(Text text) voidsetCommand(String command) voidsetLastOutput(Text lastOutput) voidabstract 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
getWorld, method_4086
-
Field Details
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official aLafa;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 bLafa;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 cLafa;c:Zintermediary field_7168Lnet/minecraft/class_1740;field_7168:Znamed trackOutputLnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
-
lastOutput
- Mappings:
Namespace Name Mixin selector official dLafa;d:Lez;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 eLafa;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 fLafa;f:Ljava/lang/String;intermediary field_7171Lnet/minecraft/class_1740;field_7171:Ljava/lang/String;named nameLnet/minecraft/world/CommandBlockExecutor;name:Ljava/lang/String;
-
-
Constructor Details
-
CommandBlockExecutor
public CommandBlockExecutor()
-
-
Method Details
-
getSuccessCount
public int getSuccessCount()- Mappings:
Namespace Name Mixin selector official gLafa;g()Iintermediary method_6403Lnet/minecraft/class_1740;method_6403()Inamed getSuccessCountLnet/minecraft/world/CommandBlockExecutor;getSuccessCount()I
-
getLastOutput
- Mappings:
Namespace Name Mixin selector official hLafa;h()Lez;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 aLafa;a(Ldg;)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 bLafa;b(Ldg;)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 aLac;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 aLafa;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 iLafa;i()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 aLafa;a(Lafm;)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 b_Lac;b_()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 c_Lac;c_()Lez;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 bLafa;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 aLac;a(Lez;)Vintermediary method_5505Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)Vnamed sendMessageLnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
-
markDirty
public abstract void markDirty()- Mappings:
Namespace Name Mixin selector official eLafa;e()Vintermediary method_6401Lnet/minecraft/class_1740;method_6401()Vnamed markDirtyLnet/minecraft/world/CommandBlockExecutor;markDirty()V
-
getType
- Mappings:
Namespace Name Mixin selector official fLafa;f()Iintermediary method_6402Lnet/minecraft/class_1740;method_6402()Inamed getTypeLnet/minecraft/world/CommandBlockExecutor;getType()I
-
writeEntityId
- Mappings:
Namespace Name Mixin selector official aLafa;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 bLafa;b(Lez;)Vintermediary method_6399Lnet/minecraft/class_1740;method_6399(Lnet/minecraft/class_1982;)Vnamed setLastOutputLnet/minecraft/world/CommandBlockExecutor;setLastOutput(Lnet/minecraft/text/Text;)V
-