Contents
Class StepComponent
java.lang.Object
com.hypixel.hytale.server.npc.components.StepComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A component used to signify that a frozen NPC should be ticked with a certain value instead of dt.
Most NPC ticking systems should be setup to use this value if the NPC is frozen and the component is present. Created on 17/11/2020
-
Constructor Details
-
StepComponent
public StepComponent(float tickLength)
-
-
Method Details
-
getComponentType
-
getTickLength
public float getTickLength() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-