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 ww
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 Lww;a:I
      intermediary field_29133 Lnet/minecraft/class_5892;field_29133:I
      named entityId Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;entityId:I
    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      official b Lww;b:Lsw;
      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(int entityId, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lww;<init>(ILsw;)V
      intermediary <init> Lnet/minecraft/class_5892;<init>(ILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;<init>(ILnet/minecraft/text/Text;)V
    • DeathMessageS2CPacket

      public DeathMessageS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lww;<init>(Lsf;)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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lww;a(Lur;)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 b Luo;b()Z
      intermediary method_11051 Lnet/minecraft/class_2596;method_11051()Z
      named isWritingErrorSkippable Lnet/minecraft/network/packet/Packet;isWritingErrorSkippable()Z
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official a Lww;a()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 c Lww;c()Lsw;
      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;