Class WaterBreathingTalisman

java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
All Implemented Interfaces:
io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem, io.github.pylonmc.rebar.item.base.RebarInventoryTicker, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class WaterBreathingTalisman extends AttributeTalisman
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem

    io.github.pylonmc.rebar.item.RebarItem.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem

    io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.bukkit.NamespacedKey
     

    Fields inherited from class AttributeTalisman

    attrBonus

    Fields inherited from class Talisman

    level

    Fields inherited from class io.github.pylonmc.rebar.item.RebarItem

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    WaterBreathingTalisman(@NotNull org.bukkit.inventory.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.bukkit.attribute.Attribute
     
    @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument>
     
    org.bukkit.NamespacedKey
    Get the generic key of the talisman, should be the same between all talismans of the same type, ie all health talisman levels have the same return value for this.

    Methods inherited from class AttributeTalisman

    applyEffect, removeEffect

    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 io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem

    getItemKey, onTick
  • Field Details

    • WATER_BREATHING_TALISMAN_KEY

      public static final org.bukkit.NamespacedKey WATER_BREATHING_TALISMAN_KEY
  • Constructor Details

    • WaterBreathingTalisman

      public WaterBreathingTalisman(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
  • Method Details

    • getAttribute

      protected org.bukkit.attribute.Attribute getAttribute()
      Specified by:
      getAttribute in class AttributeTalisman
    • getPlaceholders

      @NotNull public @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> getPlaceholders()
      Overrides:
      getPlaceholders in class io.github.pylonmc.rebar.item.RebarItem
    • getTalismanKey

      public org.bukkit.NamespacedKey getTalismanKey()
      Description copied from class: Talisman
      Get the generic key of the talisman, should be the same between all talismans of the same type, ie all health talisman levels have the same return value for this.
      Specified by:
      getTalismanKey in class Talisman