Class NPCEvent.EndBattle
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent.EndBattle
- Enclosing class:
- NPCEvent
Event fired when a player versus NPC battle ends.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
NPCEvent.EndBattle, NPCEvent.StartBattleNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final BattleControllerprotected final BattleEndCauseprotected final Map<BattleParticipant,BattleResults> -
Constructor Summary
ConstructorsConstructorDescriptionEndBattle(BattleController bc, BattleEndCause cause, boolean abnormal, Map<BattleParticipant, BattleResults> results) -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
bc
-
cause
-
abnormal
protected final boolean abnormal -
results
-
-
Constructor Details
-
EndBattle
public EndBattle(BattleController bc, BattleEndCause cause, boolean abnormal, Map<BattleParticipant, BattleResults> results)
-
-
Method Details
-
getPlayerResults
-
getNPCResults
-
getBattleController
-
getEndCause
-
isAbnormal
public boolean isAbnormal() -
getResults
-