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

    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lud;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 String command
      Mappings:
      Namespace Name Mixin selector
      official b Lud;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 boolean trackOutput
      Mappings:
      Namespace Name Mixin selector
      official c Lud;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()
    • UpdateCommandBlockMinecartC2SPacket

      @Environment(CLIENT) public UpdateCommandBlockMinecartC2SPacket​(int entityId, String command, boolean trackOutput)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lud;<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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lud;a(Lss;)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 CommandBlockExecutor getMinecartCommandExecutor​(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lud;a(Lbtv;)Lbsv;
      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 Lud;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 Lud;c()Z
      intermediary method_12478 Lnet/minecraft/class_2871;method_12478()Z
      named shouldTrackOutput Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;shouldTrackOutput()Z