Class SpellMechanic
-
- All Implemented Interfaces:
public abstract class SpellMechanic extends Mechanic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SpellMechanic.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integer
charges
private final Array<out Function<ItemBuilder, ItemBuilder>>
itemModifiers
private final String
itemID
private final MechanicFactory
factory
private final ConfigurationSection
section
public final static SpellMechanic.Companion
Companion
-
Method Summary
Modifier and Type Method Description final Integer
getCharges()
final Integer
maxCharges()
Timer
timer(Player player)
final Unit
removeCharge(ItemStack item)
-
-
Method Detail
-
getCharges
final Integer getCharges()
-
maxCharges
final Integer maxCharges()
-
removeCharge
final Unit removeCharge(ItemStack item)
-
-
-
-