Package com.nexomc.nexo.mechanics.repair
Class RepairMechanic
-
- All Implemented Interfaces:
public final class RepairMechanic extends Mechanic
-
-
Field Summary
Fields Modifier and Type Field Description 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 RepairMechanic(MechanicFactory mechanicFactory, ConfigurationSection section)
-
Method Summary
Modifier and Type Method Description final Integer
finalDamage(Integer maxDurability, Integer damage)
-
-
Constructor Detail
-
RepairMechanic
RepairMechanic(MechanicFactory mechanicFactory, ConfigurationSection section)
-
-
Method Detail
-
finalDamage
final Integer finalDamage(Integer maxDurability, Integer damage)
-
-
-
-