Class NPCEvent.Interact
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCEvent.Interact
- Enclosing class:
- NPCEvent
Event fired when an NPC is interacted with, before any logic is executed.
Cancel to stop the logic from executing.
Created by Waterdude
Created by Waterdude
- Since:
- March 20, 2021
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCEvent
NPCEvent.EndBattle, NPCEvent.Interact, NPCEvent.StartBattle
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
ConstructorDescriptionInteract
(NPCEntity npc, EnumNPCType type, net.minecraft.world.entity.player.Player player) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Interact
-