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 aik
  • 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 Laik;a:Lzn;
    • 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 Laik;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 Laik;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 Laik;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 Laik;e:Liz;
    • 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 Laik;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 Laik;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 Laik;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 Laik;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 Laik;j:Ldpt$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> Laik;<init>(Liz;Ljava/lang/String;Ldpt$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> Laik;<init>(Lwm;)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 Laik;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Laik;a(Lagw;)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 Laik;b()Liz;
    • 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 Laik;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 Laik;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 Laik;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 Laik;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 Laik;i()Ldpt$a;