Uses of Class
com.github.crashdemons.miningtrophies.modifiers.DropRateModifier
Packages that use DropRateModifier
-
Uses of DropRateModifier in com.github.crashdemons.miningtrophies.events
Methods in com.github.crashdemons.miningtrophies.events that return DropRateModifierModifier and TypeMethodDescriptionTrophyRollEvent.getCustomModifier
(String yourPluginName, String modifierName) Gets a custom (plugin-added) modifier to the trophy-roll event.TrophyRollEvent.getCustomModifier
(org.bukkit.plugin.Plugin yourPlugin, String modifierName) Gets a custom (plugin-added) modifier to the trophy-roll event.TrophyRollEvent.getModifier
(String modifierName) Retrieve the value of a modifier of the effective droprate.Methods in com.github.crashdemons.miningtrophies.events that return types with arguments of type DropRateModifierModifier and TypeMethodDescriptionTrophyRollEvent.getModifiers()
Gets the list of modifiers to the effective droprate.Methods in com.github.crashdemons.miningtrophies.events with parameters of type DropRateModifierModifier and TypeMethodDescriptionvoid
TrophyRollEvent.setCustomModifier
(org.bukkit.plugin.Plugin yourPlugin, String modifierName, DropRateModifier modifierValue) Add or change a note about your custom modifier to the trophy-roll event.void
TrophyRollEvent.setCustomModifier
(org.bukkit.plugin.Plugin yourPlugin, String modifierName, DropRateModifier modifierValue, boolean recalculateSuccess) Add or change a note about your custom modifier to the trophy-roll event.void
TrophyRollEvent.setModifier
(String modifierName, DropRateModifier value) Deprecated.using this method to modify existing modifiers should be avoided - use setCustomModifier to note new ones.Method parameters in com.github.crashdemons.miningtrophies.events with type arguments of type DropRateModifierModifier and TypeMethodDescriptionvoid
TrophyRollEvent.setModifiers
(Map<String, DropRateModifier> entries) Deprecated.using this method to modify existing modifiers should be avoided - use setCustomModifier to note new ones.