Interface DropItemEvent.Pre
- All Superinterfaces:
Cancellable, DropItemEvent, Event
- Enclosing interface:
DropItemEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.Pre -
Method Summary
Modifier and TypeMethodDescriptionGets the mutable list ofItemStackSnapshots to be dropped.Gets the original immutable list ofItemStackSnapshots to be dropped.Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
originalDroppedItems
List<ItemStackSnapshot> originalDroppedItems()Gets the original immutable list ofItemStackSnapshots to be dropped.- Returns:
- The original list of dropped items
-
droppedItems
List<ItemStackSnapshot> droppedItems()Gets the mutable list ofItemStackSnapshots to be dropped.- Returns:
- The list of dropped itemstacks
-