Class UpdateCommandBlockC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateCommandBlockC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket
intermediary net/minecraft/class_2870
official ahw
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final boolean
static final PacketCodec
<PacketByteBuf, UpdateCommandBlockC2SPacket> private final String
private final boolean
private static final int
private final BlockPos
private static final int
private final boolean
private final CommandBlockBlockEntity.Type
-
Constructor Summary
ModifierConstructorDescriptionprivate
UpdateCommandBlockC2SPacket
(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) getPos()
getType()
boolean
boolean
boolean
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48217
Lnet/minecraft/class_2870;field_48217:Lnet/minecraft/class_9139;
official a
Lahw;a:Lyx;
-
TRACK_OUTPUT_MASK
private static final int TRACK_OUTPUT_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named TRACK_OUTPUT_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;TRACK_OUTPUT_MASK:I
intermediary field_33365
Lnet/minecraft/class_2870;field_33365:I
official b
Lahw;b:I
-
CONDITIONAL_MASK
private static final int CONDITIONAL_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named CONDITIONAL_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;CONDITIONAL_MASK:I
intermediary field_33366
Lnet/minecraft/class_2870;field_33366:I
official c
Lahw;c:I
-
ALWAYS_ACTIVE_MASK
private static final int ALWAYS_ACTIVE_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named ALWAYS_ACTIVE_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;ALWAYS_ACTIVE_MASK:I
intermediary field_33367
Lnet/minecraft/class_2870;field_33367:I
official d
Lahw;d:I
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_13065
Lnet/minecraft/class_2870;field_13065:Lnet/minecraft/class_2338;
official e
Lahw;e:Ljd;
-
command
- Mappings:
Namespace Name Mixin selector named command
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;command:Ljava/lang/String;
intermediary field_13064
Lnet/minecraft/class_2870;field_13064:Ljava/lang/String;
official f
Lahw;f:Ljava/lang/String;
-
trackOutput
private final boolean trackOutput- Mappings:
Namespace Name Mixin selector named trackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;trackOutput:Z
intermediary field_13063
Lnet/minecraft/class_2870;field_13063:Z
official g
Lahw;g:Z
-
conditional
private final boolean conditional- Mappings:
Namespace Name Mixin selector named conditional
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;conditional:Z
intermediary field_13062
Lnet/minecraft/class_2870;field_13062:Z
official h
Lahw;h:Z
-
alwaysActive
private final boolean alwaysActive- Mappings:
Namespace Name Mixin selector named alwaysActive
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;alwaysActive:Z
intermediary field_13061
Lnet/minecraft/class_2870;field_13061:Z
official i
Lahw;i:Z
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;type:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
intermediary field_13060
Lnet/minecraft/class_2870;field_13060:Lnet/minecraft/class_2593$class_2594;
official j
Lahw;j:Ldqr$a;
-
-
Constructor Details
-
UpdateCommandBlockC2SPacket
public UpdateCommandBlockC2SPacket(BlockPos pos, String command, CommandBlockBlockEntity.Type type, boolean trackOutput, boolean conditional, boolean alwaysActive) - Mappings:
Namespace Name Mixin selector named <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
intermediary <init>
Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_2593$class_2594;ZZZ)V
official <init>
Lahw;<init>(Ljd;Ljava/lang/String;Ldqr$a;ZZZ)V
-
UpdateCommandBlockC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lahw;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55997
Lnet/minecraft/class_2870;method_55997(Lnet/minecraft/class_2540;)V
official a
Lahw;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzg;a()Lzi;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12469
Lnet/minecraft/class_2870;method_12469(Lnet/minecraft/class_2792;)V
official a
Lahw;a(Lagi;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_12473
Lnet/minecraft/class_2870;method_12473()Lnet/minecraft/class_2338;
official b
Lahw;b()Ljd;
-
getCommand
- Mappings:
Namespace Name Mixin selector named getCommand
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getCommand()Ljava/lang/String;
intermediary method_12470
Lnet/minecraft/class_2870;method_12470()Ljava/lang/String;
official e
Lahw;e()Ljava/lang/String;
-
shouldTrackOutput
public boolean shouldTrackOutput()- Mappings:
Namespace Name Mixin selector named shouldTrackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;shouldTrackOutput()Z
intermediary method_12472
Lnet/minecraft/class_2870;method_12472()Z
official f
Lahw;f()Z
-
isConditional
public boolean isConditional()- Mappings:
Namespace Name Mixin selector named isConditional
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isConditional()Z
intermediary method_12471
Lnet/minecraft/class_2870;method_12471()Z
official g
Lahw;g()Z
-
isAlwaysActive
public boolean isAlwaysActive()- Mappings:
Namespace Name Mixin selector named isAlwaysActive
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isAlwaysActive()Z
intermediary method_12474
Lnet/minecraft/class_2870;method_12474()Z
official h
Lahw;h()Z
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getType()Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
intermediary method_12468
Lnet/minecraft/class_2870;method_12468()Lnet/minecraft/class_2593$class_2594;
official i
Lahw;i()Ldqr$a;
-