Contents
Class AbilityProjectileTrail
java.lang.Object
com.hypixel.hytale.builtin.abilities.trigger.AbilityProjectileTrail
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Makes an ability projectile emit a particle burst at its position on a fixed cadence
while it travels, painting the danger zone on the ground (e.g. a crack marching with a
ground wave). Each burst resolves its tint from the projectile's element conversion,
so a rune-converted ability paints its trail in its element; the base color applies
otherwise.
-
Field Summary
Fields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionAbilityProjectileTrail(String systemId, float intervalS, float scale, Color baseColor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvanceAndCheckBurst(float dt) Counts down toward the next burst.clone()floatgetScale()Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Constructor Details
-
AbilityProjectileTrail
-
-
Method Details
-
getComponentType
-
getSystemId
-
getScale
public float getScale() -
getBaseColor
-
advanceAndCheckBurst
public boolean advanceAndCheckBurst(float dt) Counts down toward the next burst.- Parameters:
dt- The tick delta in seconds.- Returns:
truewhen a burst is due this tick.
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-