public interface IAttributeInstance
Modifier and Type | Method and Description |
---|---|
void |
applyModifier(AttributeModifier modifier) |
IAttribute |
getAttribute() |
double |
getAttributeValue() |
double |
getBaseValue() |
AttributeModifier |
getModifier(java.util.UUID uuid) |
java.util.Collection<AttributeModifier> |
getModifiers() |
java.util.Collection<AttributeModifier> |
getModifiersByOperation(int operation) |
boolean |
hasModifier(AttributeModifier modifier) |
void |
removeAllModifiers() |
void |
removeModifier(AttributeModifier modifier) |
void |
removeModifier(java.util.UUID p_188479_1_) |
void |
setBaseValue(double baseValue) |
IAttribute getAttribute()
double getBaseValue()
void setBaseValue(double baseValue)
java.util.Collection<AttributeModifier> getModifiersByOperation(int operation)
java.util.Collection<AttributeModifier> getModifiers()
boolean hasModifier(AttributeModifier modifier)
@Nullable AttributeModifier getModifier(java.util.UUID uuid)
void applyModifier(AttributeModifier modifier)
void removeModifier(AttributeModifier modifier)
void removeModifier(java.util.UUID p_188479_1_)
void removeAllModifiers()
double getAttributeValue()