SurfBukkitPacketLoreHandlerSimple

A simplified handler for modifying the lore of an item stack in a Bukkit-based environment.

This interface extends SurfBukkitPacketLoreHandler and provides a streamlined version of the handleLore method that does not require interacting with the persistent data container or the item stack itself. Implementations can focus solely on modifying the list of lore components.

This is particularly useful when additional item metadata or item-specific context is unnecessary.

Functions

Link copied to clipboard
abstract fun handleLore(loreToDisplay: MutableList<Component>)
open override fun handleLore(loreToDisplay: MutableList<Component>, pdc: PersistentDataContainerView, itemStack: ItemStack)

Handles the modification of the lore of an item stack.