Package noppes.npcs.api.event
Class ItemEvent.PickedUpEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.ItemEvent
noppes.npcs.api.event.ItemEvent.PickedUpEvent
- Enclosing class:
- ItemEvent
pickedUp
When Cancelled it prevents the item from spawning in the level, the item still disappears from the inventory
When Cancelled it prevents the item from spawning in the level, the item still disappears from the inventory
-
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
-
entity
-
player
-
-
Constructor Details
-
PickedUpEvent
-