Uses of Enum Class
org.bukkit.attribute.Attribute
Packages that use Attribute
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to attributes.
The interfaces used when manipulating extra data can can be stored inside
item stacks.-
Uses of Attribute in org.bukkit
Fields in org.bukkit with type parameters of type AttributeMethods in org.bukkit that return types with arguments of type AttributeModifier and TypeMethodDescriptionMaterial.getDefaultAttributeModifiers(EquipmentSlot slot) Return an immutable copy of all defaultAttributes and theirAttributeModifiers for a givenEquipmentSlot.UnsafeValues.getDefaultAttributeModifiers(Material material, EquipmentSlot slot) Deprecated.Methods in org.bukkit with parameters of type AttributeModifier and TypeMethodDescriptionUnsafeValues.getTranslationKey(Attribute attribute) Deprecated. -
Uses of Attribute in org.bukkit.attribute
Methods in org.bukkit.attribute that return AttributeModifier and TypeMethodDescriptionAttributeInstance.getAttribute()The attribute pertaining to this instance.static AttributeReturns the enum constant of this class with the specified name.static Attribute[]Attribute.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit.attribute with parameters of type AttributeModifier and TypeMethodDescriptionAttributable.getAttribute(Attribute attribute) Gets the specified attribute instance from the object. -
Uses of Attribute in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return types with arguments of type AttributeModifier and TypeMethodDescriptionItemMeta.getAttributeModifiers()Return an immutable copy of all Attributes and their modifiers in this ItemMeta.
Returns null if none exist.ItemMeta.getAttributeModifiers(EquipmentSlot slot) Return an immutable copy of allAttributes and theirAttributeModifiers for a givenEquipmentSlot.
AnyAttributeModifierthat does have have a givenEquipmentSlotwill be returned.Methods in org.bukkit.inventory.meta with parameters of type AttributeModifier and TypeMethodDescriptionbooleanItemMeta.addAttributeModifier(Attribute attribute, AttributeModifier modifier) Add an Attribute and it's Modifier.ItemMeta.getAttributeModifiers(Attribute attribute) Return an immutable copy of allAttributeModifiers for a givenAttributebooleanItemMeta.removeAttributeModifier(Attribute attribute) Remove allAttributeModifiers associated with the givenAttribute.booleanItemMeta.removeAttributeModifier(Attribute attribute, AttributeModifier modifier) Remove a specificAttributeandAttributeModifier.Method parameters in org.bukkit.inventory.meta with type arguments of type AttributeModifier and TypeMethodDescriptionvoidItemMeta.setAttributeModifiers(Multimap<Attribute, AttributeModifier> attributeModifiers) Set allAttributes and theirAttributeModifiers.