Class NPCEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
- Direct Known Subclasses:
NPCEvent.EndBattle
,NPCEvent.StartBattle
public abstract class NPCEvent
extends net.minecraftforge.eventbus.api.Event
Collection of events fired relating to interactions with Pixelmon NPCs.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Event fired when a player versus NPC battle ends.static class
Event fired when a player attempts to start a battle versus an NPC.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
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
npc
-
player
protected final net.minecraft.world.entity.player.Player player
-
-
Constructor Details
-
NPCEvent
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getNPC
-