Class ChronicleResin

java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.tools.ChronicleResin
All Implemented Interfaces:
PotionCatalyst, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class ChronicleResin 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
    Constructor
    Description
    ChronicleResin(@NotNull org.bukkit.inventory.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(@NotNull Map<org.bukkit.potion.PotionEffectType, org.bukkit.potion.PotionEffect> effects)
    Applies 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, suppressNameWarnings

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key

    Methods inherited from interface PotionCatalyst

    getApplicationSuccessRate, getSettings
  • Constructor Details

    • ChronicleResin

      public ChronicleResin(@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: PotionCatalyst
      Applies special features to the potion effects.
      Specified by:
      apply in interface PotionCatalyst
      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:
      getPlaceholders in class io.github.pylonmc.rebar.item.RebarItem