Interface ClickContainerEvent.Creative.Drop
- All Superinterfaces:
AffectEntityEvent
,AffectItemStackEvent
,AffectSlotEvent
,Cancellable
,ChangeInventoryEvent
,ClickContainerEvent
,ClickContainerEvent.Creative
,DropItemEvent
,DropItemEvent.Dispense
,Event
,InteractContainerEvent
,SpawnEntityEvent
- Enclosing interface:
ClickContainerEvent.Creative
public static interface ClickContainerEvent.Creative.Drop
extends ClickContainerEvent.Creative, DropItemEvent.Dispense
A click in a creative inventory causing an item to drop.
-
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.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.ClickContainerEvent.Creative
ClickContainerEvent.Creative.Drop, ClickContainerEvent.Creative.Set
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.Pre
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
InteractContainerEvent.Close, InteractContainerEvent.Open
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.SpawnEntityEvent
SpawnEntityEvent.Custom, SpawnEntityEvent.Pre
-
Method Summary
Modifier and TypeMethodDescriptionReturns the stack to be dropped in creative mode.Methods inherited from interface org.spongepowered.api.event.entity.AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocations
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
-
Method Details
-
droppedStack
ItemStackSnapshot droppedStack()Returns the stack to be dropped in creative mode.- Returns:
- The stack to be dropped.
-