Class ThorMechanic
-
- All Implemented Interfaces:
public final class ThorMechanic extends SpellMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerlightningBoltsAmountprivate final Integerchargesprivate final Array<out Function<ItemBuilder, ItemBuilder>>itemModifiersprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsection
-
Constructor Summary
Constructors Constructor Description ThorMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final IntegergetLightningBoltsAmount()final LocationrandomizedLocation(Location location)-
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
-
ThorMechanic
ThorMechanic(MechanicFactory factory, ConfigurationSection section)
-
-
Method Detail
-
getLightningBoltsAmount
final Integer getLightningBoltsAmount()
-
randomizedLocation
final Location randomizedLocation(Location location)
-
-
-
-