Class FishingEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FishingEvent
Direct Known Subclasses:
FishingEvent.Cast, FishingEvent.Catch, FishingEvent.Reel

public abstract class FishingEvent extends net.minecraftforge.eventbus.api.Event
Superclass event for all Pixelmon fishing rod events. Children: FishingEvent.Cast, FishingEvent.Catch, and FishingEvent.Reel.
Since:
January 9, 2018
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final net.minecraft.server.level.ServerPlayer
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FishingEvent(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

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

    • player

      public final net.minecraft.server.level.ServerPlayer player
    • fishHook

      public final HookEntity fishHook
  • Constructor Details

    • FishingEvent

      protected FishingEvent(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook)
  • Method Details