Package net.minecraft.world
Class CommandBlockExecutor
java.lang.Object
net.minecraft.world.CommandBlockExecutor
- All Implemented Interfaces:
CommandSource
- Mappings:
Namespace Name official amjintermediary net/minecraft/class_1740named net/minecraft/world/CommandBlockExecutor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate final CommandStatsprivate static final SimpleDateFormatprivate longprivate booleanprivate Textprivate Stringprivate intprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) voidfromNbt(NbtCompound nbt) intabstract intgetType()booleaninteract(PlayerEntity player) booleanabstract voidvoidmethod_11470(int int2) booleanmethod_14292(World world) 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, method_6344
-
Field Details
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector official aLamj;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;
-
field_15705
private long field_15705- Mappings:
Namespace Name Mixin selector official bLamj;b:Jintermediary field_15705Lnet/minecraft/class_1740;field_15705:Jnamed field_15705Lnet/minecraft/world/CommandBlockExecutor;field_15705:J
-
field_15706
private boolean field_15706- Mappings:
Namespace Name Mixin selector official cLamj;c:Zintermediary field_15706Lnet/minecraft/class_1740;field_15706:Znamed field_15706Lnet/minecraft/world/CommandBlockExecutor;field_15706:Z
-
successCount
private int successCount- Mappings:
Namespace Name Mixin selector official dLamj;d: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 eLamj;e:Zintermediary field_7168Lnet/minecraft/class_1740;field_7168:Znamed trackOutputLnet/minecraft/world/CommandBlockExecutor;trackOutput:Z
-
lastOutput
- Mappings:
Namespace Name Mixin selector official fLamj;f:Lhh;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 gLamj;g: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 hLamj;h: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 iLamj;i:Lbp;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 kLamj;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 aLamj;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 lLamj;l()Lhh;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 aLamj;a(Lfy;)Lfy;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 bLamj;b(Lfy;)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 aLbn;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 aLamj;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 mLamj;m()Ljava/lang/String;intermediary method_6405Lnet/minecraft/class_1740;method_6405()Ljava/lang/String;named getCommandLnet/minecraft/world/CommandBlockExecutor;getCommand()Ljava/lang/String;
-
method_14292
- Mappings:
Namespace Name Mixin selector official aLamj;a(Lamu;)Zintermediary method_14292Lnet/minecraft/class_1740;method_14292(Lnet/minecraft/class_1150;)Znamed method_14292Lnet/minecraft/world/CommandBlockExecutor;method_14292(Lnet/minecraft/world/World;)Z
-
getTranslatedName
- Specified by:
getTranslatedNamein interfaceCommandSource- Mappings:
Namespace Name Mixin selector official h_Lbn;h_()Ljava/lang/String;intermediary method_2518Lnet/minecraft/class_1061;method_2518()Ljava/lang/String;named getTranslatedNameLnet/minecraft/command/CommandSource;getTranslatedName()Ljava/lang/String;
-
setName
- Mappings:
Namespace Name Mixin selector official bLamj;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 aLbn;a(Lhh;)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 gLbn;g()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 aLbn;a(Lbp$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 iLamj;i()Vintermediary method_6401Lnet/minecraft/class_1740;method_6401()Vnamed markDirtyLnet/minecraft/world/CommandBlockExecutor;markDirty()V
-
getType
- Mappings:
Namespace Name Mixin selector official jLamj;j()Iintermediary method_6402Lnet/minecraft/class_1740;method_6402()Inamed getTypeLnet/minecraft/world/CommandBlockExecutor;getType()I
-
writeEntityId
- Mappings:
Namespace Name Mixin selector official aLamj;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 bLamj;b(Lhh;)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 aLamj;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 nLamj;n()Zintermediary method_8457Lnet/minecraft/class_1740;method_8457()Znamed isTrackingOutputLnet/minecraft/world/CommandBlockExecutor;isTrackingOutput()Z
-
interact
- Mappings:
Namespace Name Mixin selector official aLamj;a(Laed;)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 oLamj;o()Lbp;intermediary method_8458Lnet/minecraft/class_1740;method_8458()Lnet/minecraft/class_2598;named getCommandStatsLnet/minecraft/world/CommandBlockExecutor;getCommandStats()Lnet/minecraft/command/CommandStats;
-