Class CommonNpcEvent

java.lang.Object
com.github.juliarn.npclib.common.event.CommonNpcEvent
All Implemented Interfaces:
com.github.juliarn.npclib.api.event.NpcEvent
Direct Known Subclasses:
CommonPlayerNpcEvent

public abstract class CommonNpcEvent extends Object implements com.github.juliarn.npclib.api.event.NpcEvent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.github.juliarn.npclib.api.Npc<?,?,?,?>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommonNpcEvent(@NotNull com.github.juliarn.npclib.api.Npc<?,?,?,?> npc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <W, P, I, E>
    @NotNull com.github.juliarn.npclib.api.Npc<W,P,I,E>
    npc()
     

    Methods inherited from class java.lang.Object

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

    • npc

      protected final com.github.juliarn.npclib.api.Npc<?,?,?,?> npc
  • Constructor Details

    • CommonNpcEvent

      public CommonNpcEvent(@NotNull @NotNull com.github.juliarn.npclib.api.Npc<?,?,?,?> npc)
  • Method Details

    • npc

      @NotNull public <W, P, I, E> @NotNull com.github.juliarn.npclib.api.Npc<W,P,I,E> npc()
      Specified by:
      npc in interface com.github.juliarn.npclib.api.event.NpcEvent