Enum Class LootDropEvent.Cause
- All Implemented Interfaces:
Serializable
,Comparable<LootDropEvent.Cause>
,Constable
- Enclosing class:
- LootDropEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCaused by the Epic Catch ability, configured as the "epic" Fishing loot table.Caused by the Excavation luck trait, which includes the Bigger Scoop ability.Caused by a custom Excavation loot table that is not named "rare" or "epic".Caused by the Farming Luck trait, which includes the Bountiful Harvest ability.Caused by a custom Farming loot table.Caused by the Fishing Luck trait, which includes the Lucky Catch ability.Caused by a custom Fishing loot table that is not named "rare" or "epic".Caused by the Foraging Luck trait, which includes the Lumberjack ability.Caused by a custom Foraging loot table.Caused by the Double Drop trait, which doesn't occur by default unless the trait is explicitly added to a stat.Caused by the Lucky Spades ability, configured as the "epic" Excavation loot table/Caused by the Metal Detector ability, configured as the "rare" Excavation loot table.Caused by the Mining Luck trait, which includes the Lucky Miner ability.Caused by a custom Mining loot table.Caused by a mob loot table.Caused by the Treasure Hunter ability, configured as the "rare" Fishing loot table.Caused is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic LootDropEvent.Cause
Returns the enum constant of this class with the specified name.static LootDropEvent.Cause[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TREASURE_HUNTER
Caused by the Treasure Hunter ability, configured as the "rare" Fishing loot table. -
EPIC_CATCH
Caused by the Epic Catch ability, configured as the "epic" Fishing loot table. -
METAL_DETECTOR
Caused by the Metal Detector ability, configured as the "rare" Excavation loot table. -
LUCKY_SPADES
Caused by the Lucky Spades ability, configured as the "epic" Excavation loot table/ -
LUCK_DOUBLE_DROP
Caused by the Double Drop trait, which doesn't occur by default unless the trait is explicitly added to a stat. -
FISHING_OTHER_LOOT
Caused by a custom Fishing loot table that is not named "rare" or "epic". -
EXCAVATION_OTHER_LOOT
Caused by a custom Excavation loot table that is not named "rare" or "epic". -
MINING_OTHER_LOOT
Caused by a custom Mining loot table. -
FORAGING_OTHER_LOOT
Caused by a custom Foraging loot table. -
FARMING_OTHER_LOOT
Caused by a custom Farming loot table. -
UNKNOWN
Caused is unknown. -
MOB_LOOT_TABLE
Caused by a mob loot table. -
FARMING_LUCK
Caused by the Farming Luck trait, which includes the Bountiful Harvest ability. -
FORAGING_LUCK
Caused by the Foraging Luck trait, which includes the Lumberjack ability. -
MINING_LUCK
Caused by the Mining Luck trait, which includes the Lucky Miner ability. -
FISHING_LUCK
Caused by the Fishing Luck trait, which includes the Lucky Catch ability. -
EXCAVATION_LUCK
Caused by the Excavation luck trait, which includes the Bigger Scoop ability.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-