Class DefaultShowNpcEvent.DefaultPre
java.lang.Object
com.github.juliarn.npclib.common.event.CommonNpcEvent
com.github.juliarn.npclib.common.event.CommonPlayerNpcEvent
com.github.juliarn.npclib.common.event.DefaultShowNpcEvent
com.github.juliarn.npclib.common.event.DefaultShowNpcEvent.DefaultPre
- All Implemented Interfaces:
com.github.juliarn.npclib.api.event.CancellableNpcEvent,com.github.juliarn.npclib.api.event.NpcEvent,com.github.juliarn.npclib.api.event.PlayerNpcEvent,com.github.juliarn.npclib.api.event.ShowNpcEvent,com.github.juliarn.npclib.api.event.ShowNpcEvent.Pre
- Enclosing class:
DefaultShowNpcEvent
private static final class DefaultShowNpcEvent.DefaultPre
extends DefaultShowNpcEvent
implements com.github.juliarn.npclib.api.event.ShowNpcEvent.Pre
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.juliarn.npclib.api.event.ShowNpcEvent
com.github.juliarn.npclib.api.event.ShowNpcEvent.Post, com.github.juliarn.npclib.api.event.ShowNpcEvent.Pre -
Field Summary
FieldsFields inherited from class com.github.juliarn.npclib.common.event.CommonPlayerNpcEvent
playerFields inherited from class com.github.juliarn.npclib.common.event.CommonNpcEvent
npc -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDefaultPre(@NotNull com.github.juliarn.npclib.api.Npc<?, ?, ?, ?> npc, @NotNull Object player) -
Method Summary
Methods inherited from class com.github.juliarn.npclib.common.event.DefaultShowNpcEvent
post, preMethods inherited from class com.github.juliarn.npclib.common.event.CommonPlayerNpcEvent
playerMethods inherited from class com.github.juliarn.npclib.common.event.CommonNpcEvent
npcMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.juliarn.npclib.api.event.NpcEvent
npcMethods 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:
cancelledin interfacecom.github.juliarn.npclib.api.event.CancellableNpcEvent
-
cancelled
public void cancelled(boolean cancelled) - Specified by:
cancelledin interfacecom.github.juliarn.npclib.api.event.CancellableNpcEvent
-