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) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable AnimationintinthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundAnimatePacketwithAnimation(@Nullable Animation animation) @NonNull ClientboundAnimatePacketwithEntityId(int entityId) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundAnimatePacket
public ClientboundAnimatePacket(io.netty.buffer.ByteBuf in) -
ClientboundAnimatePacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getAnimation
-
equals
-
canEqual
-
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).
-