Class UpdateCommandBlockC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateCommandBlockC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateCommandBlockC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ucintermediary net/minecraft/class_2870named net/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private booleanalwaysActiveprivate Stringcommandprivate booleanconditionalprivate BlockPosposprivate booleantrackOutputprivate CommandBlockBlockEntity.Typetype -
Constructor Summary
Constructors Constructor Description UpdateCommandBlockC2SPacket()UpdateCommandBlockC2SPacket(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)BlockPosgetBlockPos()StringgetCommand()CommandBlockBlockEntity.TypegetType()booleanisAlwaysActive()booleanisConditional()voidread(PacketByteBuf buf)booleanshouldTrackOutput()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLuc;a:Lfx;intermediary field_13065Lnet/minecraft/class_2870;field_13065:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
command
- Mappings:
Namespace Name Mixin selector official bLuc;b:Ljava/lang/String;intermediary field_13064Lnet/minecraft/class_2870;field_13064:Ljava/lang/String;named commandLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;command:Ljava/lang/String;
-
trackOutput
private boolean trackOutput- Mappings:
Namespace Name Mixin selector official cLuc;c:Zintermediary field_13063Lnet/minecraft/class_2870;field_13063:Znamed trackOutputLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;trackOutput:Z
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector official dLuc;d:Zintermediary field_13062Lnet/minecraft/class_2870;field_13062:Znamed conditionalLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;conditional:Z
-
alwaysActive
private boolean alwaysActive- Mappings:
Namespace Name Mixin selector official eLuc;e:Zintermediary field_13061Lnet/minecraft/class_2870;field_13061:Znamed alwaysActiveLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;alwaysActive:Z
-
type
- Mappings:
Namespace Name Mixin selector official fLuc;f:Lcfy$a;intermediary field_13060Lnet/minecraft/class_2870;field_13060:Lnet/minecraft/class_2593$class_2594;named typeLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;type:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
-
Constructor Details
-
UpdateCommandBlockC2SPacket
public UpdateCommandBlockC2SPacket() -
UpdateCommandBlockC2SPacket
@Environment(CLIENT) public UpdateCommandBlockC2SPacket(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive)- Mappings:
Namespace Name Mixin selector official <init>Luc;<init>(Lfx;Ljava/lang/String;Lcfy$a;ZZZ)Vintermediary <init>Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_2593$class_2594;ZZZ)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;<init>(Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;ZZZ)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuc;a(Lss;)Vintermediary method_12469Lnet/minecraft/class_2870;method_12469(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getBlockPos
- Mappings:
Namespace Name Mixin selector official bLuc;b()Lfx;intermediary method_12473Lnet/minecraft/class_2870;method_12473()Lnet/minecraft/class_2338;named getBlockPosLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getCommand
- Mappings:
Namespace Name Mixin selector official cLuc;c()Ljava/lang/String;intermediary method_12470Lnet/minecraft/class_2870;method_12470()Ljava/lang/String;named getCommandLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getCommand()Ljava/lang/String;
-
shouldTrackOutput
public boolean shouldTrackOutput()- Mappings:
Namespace Name Mixin selector official dLuc;d()Zintermediary method_12472Lnet/minecraft/class_2870;method_12472()Znamed shouldTrackOutputLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;shouldTrackOutput()Z
-
isConditional
public boolean isConditional()- Mappings:
Namespace Name Mixin selector official eLuc;e()Zintermediary method_12471Lnet/minecraft/class_2870;method_12471()Znamed isConditionalLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isConditional()Z
-
isAlwaysActive
public boolean isAlwaysActive()- Mappings:
Namespace Name Mixin selector official fLuc;f()Zintermediary method_12474Lnet/minecraft/class_2870;method_12474()Znamed isAlwaysActiveLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isAlwaysActive()Z
-
getType
- Mappings:
Namespace Name Mixin selector official gLuc;g()Lcfy$a;intermediary method_12468Lnet/minecraft/class_2870;method_12468()Lnet/minecraft/class_2593$class_2594;named getTypeLnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getType()Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-