Interface ItemAttributeModifiers
- All Superinterfaces:
ShownInTooltip<ItemAttributeModifiers>
@NullMarked
@Experimental
@NonExtendable
public interface ItemAttributeModifiers
extends ShownInTooltip<ItemAttributeModifiers>
Holds attribute modifiers applied to any item.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Builder forItemAttributeModifiers
.static interface
Holds an attribute entry. -
Method Summary
Modifier and TypeMethodDescriptionLists the attribute modifiers that are present on this item.Methods inherited from interface io.papermc.paper.datacomponent.item.ShownInTooltip
showInTooltip, showInTooltip
-
Method Details
-
itemAttributes
-
modifiers
Lists the attribute modifiers that are present on this item.- Returns:
- modifiers
-