Package noppes.npcs.api.event
Class ItemEvent.InteractEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.ItemEvent
noppes.npcs.api.event.ItemEvent.InteractEvent
- Enclosing class:
- ItemEvent
interact
Will trigger if you have an item and right click into the air Or right click a block Or right click an entity
Will trigger if you have an item and right click into the air Or right click a block Or right click an entity
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.ItemEvent
ItemEvent.AttackEvent, ItemEvent.InitEvent, ItemEvent.InteractEvent, ItemEvent.PickedUpEvent, ItemEvent.SpawnEvent, ItemEvent.TossedEvent, ItemEvent.UpdateEvent
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
FieldsFields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
type
public final int type0:air, 1:entity, 2:block -
target
-
player
-
-
Constructor Details
-
InteractEvent
-