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 Array<out Function<ItemBuilder, ItemBuilder>>itemModifiersprivate final StringitemIDprivate final MechanicFactoryfactoryprivate final ConfigurationSectionsectionpublic final static SpellMechanic.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final IntegergetCharges()final IntegermaxCharges()Timertimer(Player player)final UnitremoveCharge(ItemStack item)-
-
Method Detail
-
getCharges
final Integer getCharges()
-
maxCharges
final Integer maxCharges()
-
removeCharge
final Unit removeCharge(ItemStack item)
-
-
-
-