Class AnimationUtils
java.lang.Object
com.hypixel.hytale.server.core.entity.AnimationUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidplayAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, ItemPlayerAnimations itemAnimations, String animationId, ComponentAccessor<EntityStore> componentAccessor) static voidplayAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) static voidplayAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String animationId, ComponentAccessor<EntityStore> componentAccessor) static voidplayAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String itemAnimationsId, String animationId, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) static voidplayAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, String itemAnimationsId, String animationId, ComponentAccessor<EntityStore> componentAccessor) static voidstopAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, boolean sendToSelf, ComponentAccessor<EntityStore> componentAccessor) static voidstopAnimation(Ref<EntityStore> ref, AnimationSlot animationSlot, ComponentAccessor<EntityStore> componentAccessor)
-
Constructor Details
-
AnimationUtils
public AnimationUtils()
-
-
Method Details
-
playAnimation
public static void playAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nullable String animationId, boolean sendToSelf, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playAnimation
public static void playAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nullable String itemAnimationsId, @Nullable String animationId, boolean sendToSelf, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playAnimation
public static void playAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nonnull String itemAnimationsId, @Nonnull String animationId, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playAnimation
public static void playAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nullable ItemPlayerAnimations itemAnimations, @Nonnull String animationId, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
stopAnimation
public static void stopAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
stopAnimation
public static void stopAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, boolean sendToSelf, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playAnimation
public static void playAnimation(@Nonnull Ref<EntityStore> ref, @Nonnull AnimationSlot animationSlot, @Nullable String animationId, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-