net.minecraft.network.protocol.game

public class ClientboundAnimatePacket

implements Packet<ClientGamePacketListener>

wz
net.minecraft.network.protocol.game.ClientboundAnimatePacket
net.minecraft.class_2616
net.minecraft.network.packet.s2c.play.EntityAnimationS2CPacket
net.minecraft.src.C_5037_
net.minecraft.network.protocol.game.PacketPlayOutAnimation

Field summary

Modifier and TypeField
public static final int
a
SWING_MAIN_HAND
field_33295
SWING_MAIN_HAND
f_178583_
public static final int
b
WAKE_UP
field_33297
WAKE_UP
f_178585_
public static final int
c
SWING_OFF_HAND
field_33298
SWING_OFF_HAND
f_178586_
public static final int
d
CRITICAL_HIT
field_33299
CRIT
f_178587_
public static final int
e
MAGIC_CRITICAL_HIT
field_33300
ENCHANTED_HIT
f_178588_
private final int
f
id
field_12029
id
f_131612_
private final int
g
action
field_12028
animationId
f_131613_

Constructor summary

ModifierConstructor
public (Entity entity, int animationId)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11268(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getId()
method_11269()
getId()
m_131624_()
public int
d()
getAction()
method_11267()
getAnimationId()
m_131627_()