Contents
Class ActiveAnimationComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.ActiveAnimationComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Component used to track active animations on an entity so that looping animations are played when the entity comes into range.
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanString[]voidsetPlayingAnimation(AnimationSlot slot, String animation) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
ActiveAnimationComponent
public ActiveAnimationComponent() -
ActiveAnimationComponent
-
-
Method Details
-
getComponentType
-
getActiveAnimations
-
setPlayingAnimation
-
consumeNetworkOutdated
public boolean consumeNetworkOutdated() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-