Class FishEvent

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

public class FishEvent extends Object implements org.bukkit.event.Listener
Listener for fishing events involving rare items.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Registers the FishEvent listener with the Bukkit plugin manager.
    void
    onPlayerFish(org.bukkit.event.player.PlayerFishEvent event)
    Handles the PlayerFishEvent, customizing fishing mechanics and sounds if the player is using a rare item.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FishEvent

      public FishEvent()
  • Method Details

    • init

      public static void init()
      Registers the FishEvent listener with the Bukkit plugin manager.
    • onPlayerFish

      public void onPlayerFish(org.bukkit.event.player.PlayerFishEvent event)
      Handles the PlayerFishEvent, customizing fishing mechanics and sounds if the player is using a rare item.
      Parameters:
      event - The PlayerFishEvent triggered by fishing actions.