Class ThorMechanic
-
- All Implemented Interfaces:
public final class ThorMechanic extends SpellMechanic
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
lightningBoltsAmount
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 ThorMechanic(MechanicFactory factory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Integer
getLightningBoltsAmount()
final Location
randomizedLocation(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)
-
-
-
-