Interface InteractItemEvent.Secondary.Post
- All Superinterfaces:
Cancellable
,CompositeEvent<InteractItemEvent.Secondary>
,Event
,InteractEvent
,InteractItemEvent
,InteractItemEvent.Secondary
- Enclosing interface:
InteractItemEvent.Secondary
public static interface InteractItemEvent.Secondary.Post
extends CompositeEvent<InteractItemEvent.Secondary>, InteractItemEvent.Secondary
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.InteractItemEvent
InteractItemEvent.Primary, InteractItemEvent.Secondary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.InteractItemEvent.Secondary
InteractItemEvent.Secondary.Post, InteractItemEvent.Secondary.Pre
-
Method Summary
Modifier and TypeMethodDescriptiondefault ItemStackSnapshot
Gets theItemStackSnapshot
being interacted with.Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled
Methods inherited from interface org.spongepowered.api.event.CompositeEvent
applyTo, baseEvent, children, event, setCancelled
-
Method Details
-
itemStack
Description copied from interface:InteractItemEvent
Gets theItemStackSnapshot
being interacted with.- Specified by:
itemStack
in interfaceInteractItemEvent
- Returns:
- The item being interacted with
-