Interface ItemLore.Builder

All Superinterfaces:
DataComponentBuilder<ItemLore>
Enclosing interface:
ItemLore

@Experimental @NonExtendable public static interface ItemLore.Builder extends DataComponentBuilder<ItemLore>
Builder for ItemLore.
  • Method Summary

    Modifier and Type
    Method
    Description
    addLine(net.kyori.adventure.text.ComponentLike line)
    Adds a component to the lore.
    addLines(List<? extends net.kyori.adventure.text.ComponentLike> lines)
    Adds components to the lore.
    lines(List<? extends net.kyori.adventure.text.ComponentLike> lines)
    Sets the components of this lore.

    Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder

    build