SurfBukkitPacketApi
The SurfBukkitPacketApi interface extends packet handling capabilities for Bukkit environments.
It provides methods for registering and unregistering lore listeners, enabling dynamic modification of item stack lore based on custom logic. It also includes global registration methods for listening to all items and utilities for managing these listeners efficiently.
This API allows developers to enhance item lore dynamically, providing a flexible system for plugins that need to alter or interact with lore without directly modifying the underlying item stack data.
Functions
Registers a listener for modifying the lore of a specific item stack identified by the given key.
Registers a simplified packet lore listener for a specific item.
Registers a packet lore listener globally to handle lore modifications for all items.
Registers a simplified packet lore listener globally for all items.
Unregisters a previously registered packet lore listener identified by the given key.
Unregisters all packet lore listeners associated with the given plugin.