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
named net/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket
intermediary net/minecraft/class_2870
official ajc
  • 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 Lajc;a:Lzt;
    • 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 Lajc;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 Lajc;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 Lajc;d:I
    • pos

      private final BlockPos 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 Lajc;e:Ljh;
    • command

      private final String 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 Lajc;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 Lajc;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 Lajc;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 Lajc;i:Z
    • type

      private final CommandBlockBlockEntity.Type 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 Lajc;j:Ldvg$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> Lajc;<init>(Ljh;Ljava/lang/String;Ldvg$a;ZZZ)V
    • UpdateCommandBlockC2SPacket

      private UpdateCommandBlockC2SPacket(PacketByteBuf buf)
      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> Lajc;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      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 Lajc;a(Lws;)V
    • getPacketId

      public PacketType<UpdateCommandBlockC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<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 Laac;a()Laae;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lajc;a(Lahm;)V
    • getPos

      public BlockPos 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 Lajc;b()Ljh;
    • getCommand

      public String 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 Lajc;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 Lajc;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 Lajc;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 Lajc;h()Z
    • getType

      public CommandBlockBlockEntity.Type 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 Lajc;i()Ldvg$a;