Uses of Interface
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.
Classes involved in manipulating player inventories and item interactions.
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, for removal: This API element is subject to removal in a future version.Methods in org.bukkit with parameters of type AttributeModifier and TypeMethodDescriptionUnsafeValues.getTranslationKey(Attribute attribute) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Attribute in org.bukkit.attribute
Fields in org.bukkit.attribute declared as AttributeModifier and TypeFieldDescriptionstatic final AttributeAttribute.ARMORArmor bonus of an Entity.static final AttributeAttribute.ARMOR_TOUGHNESSArmor durability bonus of an Entity.static final AttributeAttribute.ATTACK_DAMAGEAttack damage of an Entity.static final AttributeAttribute.ATTACK_KNOCKBACKAttack knockback of an Entity.static final AttributeAttribute.ATTACK_SPEEDAttack speed of an Entity.static final AttributeAttribute.BLOCK_BREAK_SPEEDBlock break speed of a Player.static final AttributeAttribute.BLOCK_INTERACTION_RANGEThe block reach distance of a Player.static final AttributeAttribute.BURNING_TIMEHow long an entity remains burning after ignition.static final AttributeAttribute.CAMERA_DISTANCEThe distance at which the camera is placed away.static final AttributeAttribute.ENTITY_INTERACTION_RANGEThe entity reach distance of a Player.static final AttributeAttribute.EXPLOSION_KNOCKBACK_RESISTANCEResistance to knockback from explosions.static final AttributeAttribute.FALL_DAMAGE_MULTIPLIERThe fall damage multiplier of an Entity.static final AttributeAttribute.FLYING_SPEEDFlying speed of an Entity.static final AttributeAttribute.FOLLOW_RANGERange at which an Entity will follow others.static final AttributeAttribute.GRAVITYThe gravity applied to an Entity.static final AttributeAttribute.JUMP_STRENGTHStrength with which an Entity will jump.static final AttributeAttribute.KNOCKBACK_RESISTANCEResistance of an Entity to knockback.static final AttributeAttribute.LUCKLuck bonus of an Entity.static final AttributeAttribute.MAX_ABSORPTIONMaximum absorption of an Entity.static final AttributeAttribute.MAX_HEALTHMaximum health of an Entity.static final AttributeAttribute.MINING_EFFICIENCYMining speed for correct tools.static final AttributeAttribute.MOVEMENT_EFFICIENCYMovement speed through difficult terrain.static final AttributeAttribute.MOVEMENT_SPEEDMovement speed of an Entity.static final AttributeAttribute.OXYGEN_BONUSOxygen use underwater.static final AttributeAttribute.SAFE_FALL_DISTANCEThe distance which an Entity can fall without damage.static final AttributeAttribute.SCALEThe relative scale of an Entity.static final AttributeAttribute.SNEAKING_SPEEDSneaking speed.static final AttributeAttribute.SPAWN_REINFORCEMENTSChance of a zombie to spawn reinforcements.static final AttributeAttribute.STEP_HEIGHTThe height which an Entity can walk over.static final AttributeAttribute.SUBMERGED_MINING_SPEEDUnderwater mining speed.static final AttributeAttribute.SWEEPING_DAMAGE_RATIOSweeping damage.static final AttributeAttribute.TEMPT_RANGERange at which mobs will be tempted by items.static final AttributeAttribute.WATER_MOVEMENT_EFFICIENCYMovement speed through water.static final AttributeAttribute.WAYPOINT_RECEIVE_RANGEWaypoing receive range.static final AttributeAttribute.WAYPOINT_TRANSMIT_RANGEWaypoint transmission range.Methods in org.bukkit.attribute that return AttributeModifier and TypeMethodDescriptionAttributeInstance.getAttribute()The attribute pertaining to this instance.static AttributeDeprecated.static Attribute[]Attribute.values()Deprecated.useIterable.iterator().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
Methods in org.bukkit.inventory that return types with arguments of type AttributeModifier and TypeMethodDescriptionItemType.getDefaultAttributeModifiers(EquipmentSlot slot) Return an immutable copy of all defaultAttributes and theirAttributeModifiers for a givenEquipmentSlot. -
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.
Registry.get(NamespacedKey)instead.