Package noppes.npcs.api.event
Class WorldEvent.ScriptTriggerEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.WorldEvent
noppes.npcs.api.event.WorldEvent.ScriptTriggerEvent
- Enclosing class:
- WorldEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.WorldEvent
WorldEvent.ScriptTriggerEvent
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
FieldsModifier and TypeFieldDescriptionfinal Object[]
final IEntity
Can be null, if player it will call the player scripts too, if npc it will call the npc scriptsfinal int
final IPos
If pos is a Script Block or Door it will call their scriptsFields inherited from class noppes.npcs.api.event.WorldEvent
world
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
ConstructorsConstructorDescriptionScriptTriggerEvent
(int id, IWorld level, IPos pos, IEntity entity, Object[] arguments) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
arguments
-
pos
If pos is a Script Block or Door it will call their scripts -
entity
Can be null, if player it will call the player scripts too, if npc it will call the npc scripts -
id
public final int id
-
-
Constructor Details
-
ScriptTriggerEvent
-