Interface ItemArmorTrim
- All Superinterfaces:
ShownInTooltip<ItemArmorTrim>
@NullMarked
@Experimental
@NonExtendable
public interface ItemArmorTrim
extends ShownInTooltip<ItemArmorTrim>
Holds the trims applied to an item.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionArmor trim present on this item.static ItemArmorTrim.Builder
itemArmorTrim
(ArmorTrim armorTrim) static ItemArmorTrim
itemArmorTrim
(ArmorTrim armorTrim, boolean showInTooltip) Methods inherited from interface io.papermc.paper.datacomponent.item.ShownInTooltip
showInTooltip, showInTooltip
-
Method Details
-
itemArmorTrim
@Contract(value="_, _ -> new", pure=true) static ItemArmorTrim itemArmorTrim(ArmorTrim armorTrim, boolean showInTooltip) -
itemArmorTrim
@Contract(value="_ -> new", pure=true) static ItemArmorTrim.Builder itemArmorTrim(ArmorTrim armorTrim) -
armorTrim
Armor trim present on this item.- Returns:
- trim
-