Class DeathMessageS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.DeathMessageS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official th
intermediary net/minecraft/class_5892
named net/minecraft/network/packet/s2c/play/DeathMessageS2CPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeathMessageS2CPacket
(int entityId, int killerId, Text message) DeathMessageS2CPacket
(DamageTracker damageTracker, Text message) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
int
boolean
Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.void
write
(PacketByteBuf buf)
-
Field Details
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector official a
Lth;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
Lth;b:I
intermediary field_29134
Lnet/minecraft/class_5892;field_29134:I
named killerId
Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;killerId:I
-
message
- Mappings:
Namespace Name Mixin selector official c
Lth;c:Lqk;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lth;<init>(Lawt;Lqk;)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
- Mappings:
Namespace Name Mixin selector official <init>
Lth;<init>(IILqk;)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
- Mappings:
Namespace Name Mixin selector official <init>
Lth;<init>(Lpy;)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
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrc;a(Lpy;)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
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lth;a(Lrf;)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 interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrc;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
Lth;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
Lth;c()I
intermediary method_34144
Lnet/minecraft/class_5892;method_34144()I
named getEntityId
Lnet/minecraft/network/packet/s2c/play/DeathMessageS2CPacket;getEntityId()I
-
getMessage
- Mappings:
Namespace Name Mixin selector official d
Lth;d()Lqk;
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;
-