OverrideDropsEvent

The Override Drops Event is an event called with enchantments that override or add to existing drops.

Description
The OverrideDropsEvent is a class that adds two local variables: the oldDrops list of items for what drops are being overriden or added to and the override boolean for whether the oldDrops should be removed or added to the event.

Constructor
DropEvent(Player who, EnchantmentLevel enchantment, List drops, List originalDrops, boolean override)

Implements
None

Extends
DropEvent

List getOriginalDrops
Gets the original drops from the event previously called

boolean isOverride
On true, the original drops will be removed from the final drops; on false, both the old and new drops will be combined

void setOverride(boolean override)
Sets the override boolean to the specified value