SurfBukkitPacketLoreHandler
A functional interface for modifying the lore of an item stack in a Bukkit-based environment.
Implementations of this interface allow custom manipulation of an item stack's lore, such as adding, removing, or reordering lore components. The handler operates on a mutable list of lore components, providing flexibility for combining dynamic and pre-existing lore elements.
This is particularly useful when multiple handlers are involved, as they can each contribute to the final lore displayed on the item stack.
Inheritors
Functions
Link copied to clipboard
abstract fun handleLore(loreToDisplay: MutableList<Component>, pdc: PersistentDataContainerView, itemStack: ItemStack)
Handles the modification of the lore of an item stack.