Class SpellMechanic
-
- All Implemented Interfaces:
public abstract class SpellMechanic extends Mechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSpellMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integerchargesprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsectionprivate final Array<out ItemModifier>itemModifierspublic final static SpellMechanic.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final IntegergetCharges()final IntegermaxCharges()<Error class: unknown class>timer(Player player)final UnitremoveCharge(ItemStack item)-
-
Method Detail
-
getCharges
final Integer getCharges()
-
maxCharges
final Integer maxCharges()
-
timer
<Error class: unknown class> timer(Player player)
-
removeCharge
final Unit removeCharge(ItemStack item)
-
-
-
-