Interface ClickContainerEvent.NumberPress
-
- All Superinterfaces:
AffectItemStackEvent
,AffectSlotEvent
,Cancellable
,ChangeInventoryEvent
,ClickContainerEvent
,Event
,InteractContainerEvent
- Enclosing interface:
- ClickContainerEvent
public static interface ClickContainerEvent.NumberPress extends ClickContainerEvent
A number press swapping the hotbar slot with the slot the mouse hovers over.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.ChangeInventoryEvent
ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent
ClickContainerEvent.Creative, ClickContainerEvent.Double, ClickContainerEvent.Drag, ClickContainerEvent.Drop, ClickContainerEvent.Middle, ClickContainerEvent.NumberPress, ClickContainerEvent.Primary, ClickContainerEvent.Recipe, ClickContainerEvent.Secondary, ClickContainerEvent.SelectTrade, ClickContainerEvent.Shift
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
InteractContainerEvent.Close, InteractContainerEvent.Open
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
number()
-
Methods inherited from interface org.spongepowered.api.event.item.inventory.AffectSlotEvent
filter, transactions
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent
inventory, slot
-
Methods inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
container, cursorTransaction
-
-