Interface AttributeModifier
- All Superinterfaces:
- Identifiable
Represents a modifier to a value in a 
Attribute which is transformed
 by an AttributeOperation.
 Modifiers are usually found on ItemStacks.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a builder class to createAttributeModifiers.
- 
Method SummaryModifier and TypeMethodDescriptiondoubleamount()Gets the amount this attribute will be modified by.static AttributeModifier.Builderbuilder()Creates a newAttributeModifier.Builderto create anAttributeModifier.name()Gets the attribute name.Gets this modifier's operation.Methods inherited from interface org.spongepowered.api.util.IdentifiableuniqueId
- 
Method Details- 
builderCreates a newAttributeModifier.Builderto create anAttributeModifier.- Returns:
- The new builder
 
- 
nameString name()Gets the attribute name.- Returns:
- The name
 
- 
operationAttributeOperation operation()Gets this modifier's operation.- Returns:
- The operation
 
- 
amountdouble amount()Gets the amount this attribute will be modified by.- Returns:
- The amount
 
 
-