Class AscendantEmber
java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.tools.AscendantEmber
- All Implemented Interfaces:
PotionCatalyst, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public class AscendantEmber
extends io.github.pylonmc.rebar.item.RebarItem
implements PotionCatalyst
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.rebar.item.RebarItem.Companion -
Field Summary
Fields inherited from class io.github.pylonmc.rebar.item.RebarItem
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanApplies special features to the potion effects.@NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> Methods inherited from class io.github.pylonmc.rebar.item.RebarItem
equals, fromStack, fromStack, getAddon, getKey, getRebarBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isRebarItem, isRebarItem, place, prePlace, register, register, suppressNameWarningsMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
keyMethods inherited from interface PotionCatalyst
getApplicationSuccessRate, getSettings
-
Constructor Details
-
AscendantEmber
public AscendantEmber(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
-
-
Method Details
-
apply
public boolean apply(@NotNull @NotNull Map<org.bukkit.potion.PotionEffectType, org.bukkit.potion.PotionEffect> effects) Description copied from interface:PotionCatalystApplies special features to the potion effects.- Specified by:
applyin interfacePotionCatalyst- Parameters:
effects- the potion effects to be handled, linked to the result potion directly.- Returns:
- whether the effects were applied successfully.
-
getPlaceholders
@NotNull public @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> getPlaceholders()- Overrides:
getPlaceholdersin classio.github.pylonmc.rebar.item.RebarItem
-