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 ail
  • 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 Lail;a:Lzn;
    • 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 Lail;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 Lail;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 Lail;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> Lail;<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> Lail;<init>(Lwm;)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 Lail;a(Lwm;)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 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/UpdateCommandBlockMinecartC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12477 Lnet/minecraft/class_2871;method_12477(Lnet/minecraft/class_2792;)V
      official a Lail;a(Lagw;)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 Lail;a(Ldbz;)Ldba;
    • 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 Lail;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 Lail;e()Z