Interface ItemAttributeModifiers.Entry

Enclosing interface:
ItemAttributeModifiers

@NonExtendable public static interface ItemAttributeModifiers.Entry
Holds an attribute entry.
Since:
1.21.3
  • Method Details

    • attribute

      @Contract(pure=true) Attribute attribute()
      Gets the target attribute for the paired modifier.
      Returns:
      the attribute
      Since:
      1.21.3
    • modifier

      @Contract(pure=true) AttributeModifier modifier()
      The modifier for the paired attribute.
      Returns:
      the modifier
      Since:
      1.21.3
    • getGroup

      default EquipmentSlotGroup getGroup()
      Gets the slot group for the paired attribute.
      Returns:
      the slot group
      Since:
      1.21.3
    • display

      The display behavior for the attribute modifier.
      Returns:
      the display behavior
      Since:
      1.21.6