Class UpdateCommandBlockMinecartC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateCommandBlockMinecartC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class UpdateCommandBlockMinecartC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket
intermediary net/minecraft/class_2871
official ahw
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48218 Lnet/minecraft/class_2871;field_48218:Lnet/minecraft/class_9139;
      official a Lahw;a:Lyw;
    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      named entityId Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;entityId:I
      intermediary field_13067 Lnet/minecraft/class_2871;field_13067:I
      official b Lahw;b:I
    • command

      private final String command
      Mappings:
      Namespace Name Mixin selector
      named command Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;command:Ljava/lang/String;
      intermediary field_13068 Lnet/minecraft/class_2871;field_13068:Ljava/lang/String;
      official c Lahw;c:Ljava/lang/String;
    • trackOutput

      private final boolean trackOutput
      Mappings:
      Namespace Name Mixin selector
      named trackOutput Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;trackOutput:Z
      intermediary field_13066 Lnet/minecraft/class_2871;field_13066:Z
      official d Lahw;d:Z
  • Constructor Details

    • UpdateCommandBlockMinecartC2SPacket

      public UpdateCommandBlockMinecartC2SPacket(int entityId, String command, boolean trackOutput)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;<init>(ILjava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_2871;<init>(ILjava/lang/String;Z)V
      official <init> Lahw;<init>(ILjava/lang/String;Z)V
    • UpdateCommandBlockMinecartC2SPacket

      private UpdateCommandBlockMinecartC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2871;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lahw;<init>(Lvv;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55998 Lnet/minecraft/class_2871;method_55998(Lnet/minecraft/class_2540;)V
      official a Lahw;a(Lvv;)V
    • 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 Lzf;a()Lzh;
    • 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/UpdateCommandBlockMinecartC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12477 Lnet/minecraft/class_2871;method_12477(Lnet/minecraft/class_2792;)V
      official a Lahw;a(Lagh;)V
    • getMinecartCommandExecutor

      @Nullable public @Nullable CommandBlockExecutor getMinecartCommandExecutor(World world)
      Mappings:
      Namespace Name Mixin selector
      named getMinecartCommandExecutor Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;getMinecartCommandExecutor(Lnet/minecraft/world/World;)Lnet/minecraft/world/CommandBlockExecutor;
      intermediary method_12476 Lnet/minecraft/class_2871;method_12476(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1918;
      official a Lahw;a(Ldcu;)Ldbv;
    • getCommand

      public String getCommand()
      Mappings:
      Namespace Name Mixin selector
      named getCommand Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;getCommand()Ljava/lang/String;
      intermediary method_12475 Lnet/minecraft/class_2871;method_12475()Ljava/lang/String;
      official b Lahw;b()Ljava/lang/String;
    • shouldTrackOutput

      public boolean shouldTrackOutput()
      Mappings:
      Namespace Name Mixin selector
      named shouldTrackOutput Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;shouldTrackOutput()Z
      intermediary method_12478 Lnet/minecraft/class_2871;method_12478()Z
      official e Lahw;e()Z