Class ClientboundAnimatePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAnimatePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
static int
static int
private int
static int
static int
static int
static int
-
Constructor Summary
ConstructorDescriptionClientboundAnimatePacket(FriendlyByteBuf p_178590_)
ClientboundAnimatePacket(Entity p_131616_, int p_131617_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getId()
void
handle(ClientGamePacketListener p_131623_)
void
write(FriendlyByteBuf p_131626_)
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.protocol.Packet
isSkippable
-
Field Details
-
SWING_MAIN_HAND
public static final int SWING_MAIN_HAND- See Also:
- Constant Field Values
-
HURT
public static final int HURT- See Also:
- Constant Field Values
-
WAKE_UP
public static final int WAKE_UP- See Also:
- Constant Field Values
-
SWING_OFF_HAND
public static final int SWING_OFF_HAND- See Also:
- Constant Field Values
-
CRITICAL_HIT
public static final int CRITICAL_HIT- See Also:
- Constant Field Values
-
MAGIC_CRITICAL_HIT
public static final int MAGIC_CRITICAL_HIT- See Also:
- Constant Field Values
-
id
private final int id -
action
private final int action
-
-
Constructor Details
-
ClientboundAnimatePacket
-
ClientboundAnimatePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getAction
public int getAction()
-