Class NPCEvent.StartBattle

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent.StartBattle
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
NPCEvent

public static class NPCEvent.StartBattle extends NPCEvent implements net.neoforged.bus.api.ICancellableEvent
Event fired when a player attempts to start a battle versus an NPC. Cancel to stop the battle from starting.