Contents
Class NewSpawnComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.NewSpawnComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Designates an entity as newly spawned and in need of playing the spawn animation, if it exists.
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, NewSpawnComponent> booleannewSpawnWindowPassed(float dt) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
NewSpawnComponent
public NewSpawnComponent(float newSpawnWindow)
-
-
Method Details
-
getComponentType
-
newSpawnWindowPassed
public boolean newSpawnWindowPassed(float dt) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-