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
official yj
intermediary net/minecraft/class_2871
named net/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket
  • Field Details

    • entityId

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

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

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

    • UpdateCommandBlockMinecartC2SPacket

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

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a(Lqx;)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

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lyj;a(Lwv;)V
      intermediary method_12477 Lnet/minecraft/class_2871;method_12477(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getMinecartCommandExecutor

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

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

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