Class DefaultHideNpcEvent.DefaultPre

All Implemented Interfaces:
com.github.juliarn.npclib.api.event.CancellableNpcEvent, com.github.juliarn.npclib.api.event.HideNpcEvent, com.github.juliarn.npclib.api.event.HideNpcEvent.Pre, com.github.juliarn.npclib.api.event.NpcEvent, com.github.juliarn.npclib.api.event.PlayerNpcEvent
Enclosing class:
DefaultHideNpcEvent

private static final class DefaultHideNpcEvent.DefaultPre extends DefaultHideNpcEvent implements com.github.juliarn.npclib.api.event.HideNpcEvent.Pre
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.github.juliarn.npclib.api.event.HideNpcEvent

    com.github.juliarn.npclib.api.event.HideNpcEvent.Post, com.github.juliarn.npclib.api.event.HideNpcEvent.Pre
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     

    Fields inherited from class com.github.juliarn.npclib.common.event.CommonPlayerNpcEvent

    player

    Fields inherited from class com.github.juliarn.npclib.common.event.CommonNpcEvent

    npc
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    DefaultPre(@NotNull com.github.juliarn.npclib.api.Npc<?,?,?,?> npc, @NotNull Object player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    cancelled(boolean cancelled)
     

    Methods inherited from class com.github.juliarn.npclib.common.event.DefaultHideNpcEvent

    post, pre

    Methods inherited from class com.github.juliarn.npclib.common.event.CommonPlayerNpcEvent

    player

    Methods inherited from class com.github.juliarn.npclib.common.event.CommonNpcEvent

    npc

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.juliarn.npclib.api.event.NpcEvent

    npc

    Methods inherited from interface com.github.juliarn.npclib.api.event.PlayerNpcEvent

    player
  • Field Details

    • cancelled

      private boolean cancelled
  • Constructor Details

    • DefaultPre

      private DefaultPre(@NotNull @NotNull com.github.juliarn.npclib.api.Npc<?,?,?,?> npc, @NotNull @NotNull Object player)
  • Method Details

    • cancelled

      public boolean cancelled()
      Specified by:
      cancelled in interface com.github.juliarn.npclib.api.event.CancellableNpcEvent
    • cancelled

      public void cancelled(boolean cancelled)
      Specified by:
      cancelled in interface com.github.juliarn.npclib.api.event.CancellableNpcEvent