Class EnergyBlastMechanic
-
- All Implemented Interfaces:
public final class EnergyBlastMechanic extends SpellMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final Particle
particle
private Particle.DustOptions
particleColor
private final Double
damage
private final Integer
length
private final Integer
charges
private final Array<out Function<ItemBuilder, ItemBuilder>>
itemModifiers
private final String
itemID
private final MechanicFactory
factory
private final ConfigurationSection
section
-
Constructor Summary
Constructors Constructor Description EnergyBlastMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Particle
getParticle()
final Particle.DustOptions
getParticleColor()
final Unit
setParticleColor(Particle.DustOptions particleColor)
final Double
getDamage()
final Integer
getLength()
-
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)
-
-
-
-