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