Class ActionPlayAnimation
java.lang.Object
com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
com.hypixel.hytale.server.npc.corecomponents.ActionBase
com.hypixel.hytale.server.npc.corecomponents.audiovisual.ActionPlayAnimation
- All Implemented Interfaces:
Action,RoleStateChange,IAnnotatedComponent,IComponentExecutionControl
- Direct Known Subclasses:
ActionCompleteTask
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.npc.corecomponents.ActionBase
active, once, triggeredFields inherited from class com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
index, parentFields inherited from interface com.hypixel.hytale.server.npc.instructions.Action
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionActionPlayAnimation(BuilderActionPlayAnimation builderActionPlayAnimation, BuilderSupport support) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(Ref<EntityStore> ref, Role role, InfoProvider sensorInfo, double dt, Store<EntityStore> store) protected voidsetAnimationId(String animationId) Methods inherited from class com.hypixel.hytale.server.npc.corecomponents.ActionBase
activate, canExecute, clearOnce, deactivate, isActivated, isTriggered, processDelay, setOnceMethods inherited from class com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
getIndex, getInfo, getParent, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.npc.util.IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getIndex, getInfo, getLabel, getParent, setContextMethods inherited from interface com.hypixel.hytale.server.npc.instructions.RoleStateChange
loaded, motionControllerChanged, registerWithSupport, removed, spawned, teleported, unloaded
-
Field Details
-
slot
-
animationId
-
-
Constructor Details
-
ActionPlayAnimation
public ActionPlayAnimation(@Nonnull BuilderActionPlayAnimation builderActionPlayAnimation, @Nonnull BuilderSupport support)
-
-
Method Details
-
execute
public boolean execute(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, InfoProvider sensorInfo, double dt, @Nonnull Store<EntityStore> store) - Specified by:
executein interfaceAction- Overrides:
executein classActionBase
-
setAnimationId
-