Interface PotionCatalyst
- All Known Implementing Classes:
AscendantEmber, ChronicleResin, EonWeaveCrystal
public interface PotionCatalyst
A catalyst for modifying potion effects in
PotionAltar result potion.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanApplies special features to the potion effects.default double`application-success-rate` (double type) is required to check the success rate of the catalyst.@NotNull io.github.pylonmc.rebar.config.Config
-
Method Details
-
apply
boolean apply(@NotNull @NotNull Map<org.bukkit.potion.PotionEffectType, org.bukkit.potion.PotionEffect> effects) Applies special features to the potion effects.- Parameters:
effects- the potion effects to be handled, linked to the result potion directly.- Returns:
- whether the effects were applied successfully.
-
getSettings
@NotNull @NotNull io.github.pylonmc.rebar.config.Config getSettings() -
getApplicationSuccessRate
default double getApplicationSuccessRate()`application-success-rate` (double type) is required to check the success rate of the catalyst.- See Also:
-