Contents
Class AbilityEntitySpawner
java.lang.Object
com.hypixel.hytale.builtin.abilities.entity.AbilityEntitySpawner
Spawns an ability entity: a stationary, server-only entity (e.g. a tornado) that lives for
a fixed time and re-runs its authored chains at their fixed intervals. It has no stats and responds
to no hits: other abilities pass through it and never target it. Its chains run on its own
interaction manager, fully server-simulated, with the caster as owner.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidspawn(Ref<EntityStore> casterRef, CommandBuffer<EntityStore> commandBuffer, ModelAsset modelAsset, float scale, float lifetimeS, String[] repeatRootIds, float[] repeatIntervals, double range, Map<String, Float> attributes, String[] onHitEffectIds, String elementalCauseId)
-
Method Details
-
spawn
public static void spawn(@Nonnull Ref<EntityStore> casterRef, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull ModelAsset modelAsset, float scale, float lifetimeS, @Nonnull String[] repeatRootIds, @Nonnull float[] repeatIntervals, double range, @Nullable Map<String, Float> attributes, @Nullable String[] onHitEffectIds, @Nullable String elementalCauseId)
-