Class EffectImage
java.lang.Object
studio.magemonkey.fabled.api.particle.EffectImage
Handles playing effects based on configuration settings
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEffectImage(Settings settings) Sets up an effect player that applies effects based of the values in the provided settings. -
Method Summary
Modifier and TypeMethodDescriptionvoidstart(EffectTarget target, String key, int ticks, int level) Plays a particle effect, grabbing values from the settings data
-
Field Details
-
INTERVAL
- See Also:
-
ITER_PER_FRAME
- See Also:
-
VIEW_RANGE
- See Also:
-
-
Constructor Details
-
EffectImage
Sets up an effect player that applies effects based of the values in the provided settings. All the available settings are provided as static values in this class.- Parameters:
settings- settings to read from
-
-
Method Details
-
start
Plays a particle effect, grabbing values from the settings data- Parameters:
target- target to play forkey- effect key to useticks- duration of effect in tickslevel- level of the effect
-