Interface DropItemEvent.Pre
-
- All Superinterfaces:
Cancellable
,DropItemEvent
,Event
- Enclosing interface:
- DropItemEvent
public static interface DropItemEvent.Pre extends DropItemEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.Pre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ItemStackSnapshot>
droppedItems()
Gets the mutable list ofItemStackSnapshot
s to be dropped.List<ItemStackSnapshot>
originalDroppedItems()
Gets the original immutable list ofItemStackSnapshot
s to be dropped.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
originalDroppedItems
List<ItemStackSnapshot> originalDroppedItems()
Gets the original immutable list ofItemStackSnapshot
s to be dropped.- Returns:
- The original list of dropped items
-
droppedItems
List<ItemStackSnapshot> droppedItems()
Gets the mutable list ofItemStackSnapshot
s to be dropped.- Returns:
- The list of dropped itemstacks
-
-