Class HealthUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.HealthUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official uk
intermediary net/minecraft/class_2749
named net/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final float
private final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getFood()
float
float
void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
health
private final float health- Mappings:
Namespace Name Mixin selector official a
Luk;a:F
intermediary field_12584
Lnet/minecraft/class_2749;field_12584:F
named health
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;health:F
-
food
private final int food- Mappings:
Namespace Name Mixin selector official b
Luk;b:I
intermediary field_12585
Lnet/minecraft/class_2749;field_12585:I
named food
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;food:I
-
saturation
private final float saturation- Mappings:
Namespace Name Mixin selector official c
Luk;c:F
intermediary field_12583
Lnet/minecraft/class_2749;field_12583:F
named saturation
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;saturation:F
-
-
Constructor Details
-
HealthUpdateS2CPacket
public HealthUpdateS2CPacket(float health, int food, float saturation) - Mappings:
Namespace Name Mixin selector official <init>
Luk;<init>(FIF)V
intermediary <init>
Lnet/minecraft/class_2749;<init>(FIF)V
named <init>
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;<init>(FIF)V
-
HealthUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Luk;<init>(Lpy;)V
intermediary <init>
Lnet/minecraft/class_2749;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;<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
Luk;a(Lrf;)V
intermediary method_11832
Lnet/minecraft/class_2749;method_11832(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getHealth
public float getHealth()- Mappings:
Namespace Name Mixin selector official b
Luk;b()F
intermediary method_11833
Lnet/minecraft/class_2749;method_11833()F
named getHealth
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;getHealth()F
-
getFood
public int getFood()- Mappings:
Namespace Name Mixin selector official c
Luk;c()I
intermediary method_11831
Lnet/minecraft/class_2749;method_11831()I
named getFood
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;getFood()I
-
getSaturation
public float getSaturation()- Mappings:
Namespace Name Mixin selector official d
Luk;d()F
intermediary method_11834
Lnet/minecraft/class_2749;method_11834()F
named getSaturation
Lnet/minecraft/network/packet/s2c/play/HealthUpdateS2CPacket;getSaturation()F
-