Class EnergyBlastMechanic
-
- All Implemented Interfaces:
public final class EnergyBlastMechanic extends SpellMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final Particleparticleprivate Particle.DustOptionsparticleColorprivate final Doubledamageprivate final Integerlengthprivate final Integerchargesprivate final Array<out Function<ItemBuilder, ItemBuilder>>itemModifiersprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsection
-
Constructor Summary
Constructors Constructor Description EnergyBlastMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final ParticlegetParticle()final Particle.DustOptionsgetParticleColor()final UnitsetParticleColor(Particle.DustOptions particleColor)final DoublegetDamage()final IntegergetLength()-
Methods inherited from class com.nexomc.nexo.mechanics.combat.spell.SpellMechanic
getCharges, maxCharges, removeCharge, timer -
Methods inherited from class com.nexomc.nexo.mechanics.Mechanic
getFactory, getItemID, getItemModifiers, getSection -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EnergyBlastMechanic
EnergyBlastMechanic(MechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getParticle
final Particle getParticle()
-
getParticleColor
final Particle.DustOptions getParticleColor()
-
setParticleColor
final Unit setParticleColor(Particle.DustOptions particleColor)
-
-
-
-