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 uc
intermediary net/minecraft/class_2870
named net/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private boolean
alwaysActive
private String
command
private boolean
conditional
private BlockPos
pos
private boolean
trackOutput
private CommandBlockBlockEntity.Type
type
-
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 void
apply(ServerPlayPacketListener serverPlayPacketListener)
BlockPos
getBlockPos()
String
getCommand()
CommandBlockBlockEntity.Type
getType()
boolean
isAlwaysActive()
boolean
isConditional()
void
read(PacketByteBuf buf)
boolean
shouldTrackOutput()
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
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official a
Luc;a:Lfx;
intermediary field_13065
Lnet/minecraft/class_2870;field_13065:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
command
- Mappings:
Namespace Name Mixin selector official b
Luc;b:Ljava/lang/String;
intermediary field_13064
Lnet/minecraft/class_2870;field_13064:Ljava/lang/String;
named command
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;command:Ljava/lang/String;
-
trackOutput
private boolean trackOutput- Mappings:
Namespace Name Mixin selector official c
Luc;c:Z
intermediary field_13063
Lnet/minecraft/class_2870;field_13063:Z
named trackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;trackOutput:Z
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector official d
Luc;d:Z
intermediary field_13062
Lnet/minecraft/class_2870;field_13062:Z
named conditional
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;conditional:Z
-
alwaysActive
private boolean alwaysActive- Mappings:
Namespace Name Mixin selector official e
Luc;e:Z
intermediary field_13061
Lnet/minecraft/class_2870;field_13061:Z
named alwaysActive
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;alwaysActive:Z
-
type
- Mappings:
Namespace Name Mixin selector official f
Luc;f:Lcfy$a;
intermediary field_13060
Lnet/minecraft/class_2870;field_13060:Lnet/minecraft/class_2593$class_2594;
named type
Lnet/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)V
intermediary <init>
Lnet/minecraft/class_2870;<init>(Lnet/minecraft/class_2338;Ljava/lang/String;Lnet/minecraft/class_2593$class_2594;ZZZ)V
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
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luc;a(Lss;)V
intermediary method_12469
Lnet/minecraft/class_2870;method_12469(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getBlockPos
- Mappings:
Namespace Name Mixin selector official b
Luc;b()Lfx;
intermediary method_12473
Lnet/minecraft/class_2870;method_12473()Lnet/minecraft/class_2338;
named getBlockPos
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getCommand
- Mappings:
Namespace Name Mixin selector official c
Luc;c()Ljava/lang/String;
intermediary method_12470
Lnet/minecraft/class_2870;method_12470()Ljava/lang/String;
named getCommand
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getCommand()Ljava/lang/String;
-
shouldTrackOutput
public boolean shouldTrackOutput()- Mappings:
Namespace Name Mixin selector official d
Luc;d()Z
intermediary method_12472
Lnet/minecraft/class_2870;method_12472()Z
named shouldTrackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;shouldTrackOutput()Z
-
isConditional
public boolean isConditional()- Mappings:
Namespace Name Mixin selector official e
Luc;e()Z
intermediary method_12471
Lnet/minecraft/class_2870;method_12471()Z
named isConditional
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isConditional()Z
-
isAlwaysActive
public boolean isAlwaysActive()- Mappings:
Namespace Name Mixin selector official f
Luc;f()Z
intermediary method_12474
Lnet/minecraft/class_2870;method_12474()Z
named isAlwaysActive
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;isAlwaysActive()Z
-
getType
- Mappings:
Namespace Name Mixin selector official g
Luc;g()Lcfy$a;
intermediary method_12468
Lnet/minecraft/class_2870;method_12468()Lnet/minecraft/class_2593$class_2594;
named getType
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;getType()Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-