Interface ItemLore
@NonExtendable
public interface ItemLore
Additional lines to include in an item's tooltip.
- Since:
- 1.21.3
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@Unmodifiable List<net.kyori.adventure.text.Component> lines()Lists the components that are added to an item's tooltip.static ItemLore.Builderlore()static ItemLore@Unmodifiable List<net.kyori.adventure.text.Component> Lists the styled components (example: italicized and purple) that are added to an item's tooltip.
-
Method Details
-
lore
-
lore
- Since:
- 1.21.3
-
lines
Lists the components that are added to an item's tooltip.- Returns:
- component list
- Since:
- 1.21.3
-
styledLines
Lists the styled components (example: italicized and purple) that are added to an item's tooltip.- Returns:
- component list
- Since:
- 1.21.3
-