Class DeathMessageS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.DeathMessageS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class DeathMessageS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official sw
intermediary net/minecraft/class_5892
named net/minecraft/network/packet/s2c/play/DeathMessageS2CPacket
  • Field Details

    • entityId

      private final int entityId
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a:I
      intermediary field_29133 Lnet/minecraft/class_5892;field_29133:I
      named entityId Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;entityId:I
    • killerId

      private final int killerId
      Mappings:
      Namespace Name Mixin selector
      official b Lsw;b:I
      intermediary field_29134 Lnet/minecraft/class_5892;field_29134:I
      named killerId Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;killerId:I
    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      official c Lsw;c:Lpz;
      intermediary field_29135 Lnet/minecraft/class_5892;field_29135:Lnet/minecraft/class_2561;
      named message Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;message:Lnet/minecraft/text/Text;
  • Constructor Details

    • DeathMessageS2CPacket

      public DeathMessageS2CPacket(DamageTracker damageTracker, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsw;<init>(Lawc;Lpz;)V
      intermediary <init> Lnet/minecraft/class_5892;<init>(Lnet/minecraft/class_1283;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;<init>(Lnet/minecraft/entity/damage/DamageTracker;Lnet/minecraft/text/Text;)V
    • DeathMessageS2CPacket

      public DeathMessageS2CPacket(int entityId, int killerId, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsw;<init>(IILpz;)V
      intermediary <init> Lnet/minecraft/class_5892;<init>(IILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;<init>(IILnet/minecraft/text/Text;)V
    • DeathMessageS2CPacket

      public DeathMessageS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsw;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_5892;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)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(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsw;a(Lqu;)V
      intermediary method_34143 Lnet/minecraft/class_5892;method_34143(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • isWritingErrorSkippable

      public boolean isWritingErrorSkippable()
      Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.
      Specified by:
      isWritingErrorSkippable in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a()Z
      intermediary method_11051 Lnet/minecraft/class_2596;method_11051()Z
      named isWritingErrorSkippable Lnet/minecraft/network/Packet;isWritingErrorSkippable()Z
    • getKillerId

      public int getKillerId()
      Mappings:
      Namespace Name Mixin selector
      official b Lsw;b()I
      intermediary method_36153 Lnet/minecraft/class_5892;method_36153()I
      named getKillerId Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;getKillerId()I
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official c Lsw;c()I
      intermediary method_34144 Lnet/minecraft/class_5892;method_34144()I
      named getEntityId Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;getEntityId()I
    • getMessage

      public Text getMessage()
      Mappings:
      Namespace Name Mixin selector
      official d Lsw;d()Lpz;
      intermediary method_34145 Lnet/minecraft/class_5892;method_34145()Lnet/minecraft/class_2561;
      named getMessage Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;getMessage()Lnet/minecraft/text/Text;