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.SwapHandNested 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.ShiftNested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent.Creative
ClickContainerEvent.Creative.Drop, ClickContainerEvent.Creative.SetNested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.PreNested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
InteractContainerEvent.Close, InteractContainerEvent.OpenNested 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, filterEntityLocationsMethods inherited from interface org.spongepowered.api.event.item.inventory.AffectSlotEvent
filter, transactionsMethods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent
inventory, slotMethods 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.
-