Package noppes.npcs.api.event
Class DialogEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.NpcEvent
noppes.npcs.api.event.DialogEvent
- Direct Known Subclasses:
DialogEvent.CloseEvent
,DialogEvent.OpenEvent
,DialogEvent.OptionEvent
public class DialogEvent extends NpcEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DialogEvent.CloseEvent
dialogClosestatic class
DialogEvent.OpenEvent
dialogstatic class
DialogEvent.OptionEvent
dialogOptionNested classes/interfaces inherited from class noppes.npcs.api.event.NpcEvent
NpcEvent.CollideEvent, NpcEvent.DamagedEvent, NpcEvent.DiedEvent, NpcEvent.InitEvent, NpcEvent.InteractEvent, NpcEvent.KilledEntityEvent, NpcEvent.MeleeAttackEvent, NpcEvent.RangedLaunchedEvent, NpcEvent.TargetEvent, NpcEvent.TargetLostEvent, NpcEvent.TimerEvent, NpcEvent.UpdateEvent
Nested classes/interfaces inherited from class net.minecraftforge.fml.common.eventhandler.Event
net.minecraftforge.fml.common.eventhandler.Event.HasResult, net.minecraftforge.fml.common.eventhandler.Event.Result
-
Field Summary
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors Constructor Description DialogEvent(ICustomNpc npc, net.minecraft.entity.player.EntityPlayer player, IDialog dialog)
-
Method Summary
Methods inherited from class net.minecraftforge.fml.common.eventhandler.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
dialog
-
player
-
-
Constructor Details
-
DialogEvent
public DialogEvent(ICustomNpc npc, net.minecraft.entity.player.EntityPlayer player, IDialog dialog)
-