Class EventListeners

java.lang.Object
valorless.rarespawns.EventListeners
All Implemented Interfaces:
org.bukkit.event.Listener

public class EventListeners extends Object implements org.bukkit.event.Listener
Registers all event listeners for the RareSpawns plugin. This class is responsible for initializing and registering all custom event handlers such as taming, spawning, death, damage, updates, vehicle interactions, breeding, leading, item eating, item dropping, item pickup, fishing events, and more.

Call init() to register all listeners with the Bukkit plugin manager.

  • Constructor Details

    • EventListeners

      public EventListeners()
  • Method Details

    • init

      protected static void init()
      Initializes and registers all event listeners for RareSpawns. This method should be called during plugin startup to ensure all custom event logic is active. Registers itself and all custom event classes with the Bukkit plugin manager.