-
- All Implemented Interfaces:
public final class MythicAttribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MythicAttribute.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Attribute
attribute
private final Double
minimumAmount
private final Double
maximumAmount
private final String
name
private final AttributeModifier.Operation
operation
private final EquipmentSlot
equipmentSlot
-
Constructor Summary
Constructors Constructor Description MythicAttribute(Attribute attribute, Double minimumAmount, Double maximumAmount, String name, AttributeModifier.Operation operation, EquipmentSlot equipmentSlot)
-
Method Summary
Modifier and Type Method Description final Attribute
getAttribute()
final Double
getMinimumAmount()
final Double
getMaximumAmount()
final String
getName()
final AttributeModifier.Operation
getOperation()
final EquipmentSlot
getEquipmentSlot()
final Double
getAmount()
final Pair<Attribute, AttributeModifier>
toAttributeModifier()
-
-
Method Detail
-
getAttribute
final Attribute getAttribute()
-
getMinimumAmount
final Double getMinimumAmount()
-
getMaximumAmount
final Double getMaximumAmount()
-
getOperation
final AttributeModifier.Operation getOperation()
-
getEquipmentSlot
final EquipmentSlot getEquipmentSlot()
-
toAttributeModifier
final Pair<Attribute, AttributeModifier> toAttributeModifier()
-
-
-
-