withLore

abstract override fun withLore(lore: List<Component>): I

Creates new item metadata with the given lore.

Return

new item metadata

Parameters

lore

the new lore


abstract override fun withLore(lore: Component): I

Creates new item metadata with the given lore line added to the bottom of the lore text.

Return

new item metadata

Parameters

lore

the lore line to add