Interface InteractItemEvent.Primary
- All Superinterfaces:
Event
,InteractEvent
,InteractItemEvent
- Enclosing interface:
- InteractItemEvent
Called when a player swings its hand in the air.
For block interactions use InteractBlockEvent.Primary
and
for entity interactions use InteractEntityEvent.Primary
instead.
To cancel the animation use AnimateHandEvent
instead.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.InteractItemEvent
InteractItemEvent.Primary, InteractItemEvent.Secondary
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.item.inventory.InteractItemEvent
itemStack