Class ClientboundAnimatePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundAnimatePacket
- All Implemented Interfaces:
Packet,MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundAnimatePacket(int entityId, @Nullable Animation animation) ClientboundAnimatePacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable AnimationintinthashCode()voidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) @NonNull StringtoString()@NonNull ClientboundAnimatePacketwithAnimation(@Nullable Animation animation) @NonNull ClientboundAnimatePacketwithEntityId(int entityId) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.mcprotocollib.network.packet.Packet
isPriority
-
Constructor Details
-
ClientboundAnimatePacket
-
ClientboundAnimatePacket
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getAnimation
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAnimation
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-