Class WaterBreathingTalisman
java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.talismans.Talisman
io.github.pylonmc.pylon.content.talismans.AttributeTalisman
io.github.pylonmc.pylon.content.talismans.WaterBreathingTalisman
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.rebar.item.RebarItem.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem
io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.bukkit.NamespacedKeyFields inherited from class AttributeTalisman
attrBonusFields inherited from class io.github.pylonmc.rebar.item.RebarItem
CompanionFields inherited from interface io.github.pylonmc.rebar.item.base.RebarInventoryEffectItem
Companion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bukkit.attribute.Attribute@NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> org.bukkit.NamespacedKeyGet 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, removeEffectMethods inherited from class Talisman
getBaseTickInterval, getLevel, onAddedToInventory, onRemovedFromInventoryMethods 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 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:
getAttributein classAttributeTalisman
-
getPlaceholders
@NotNull public @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument> getPlaceholders()- Overrides:
getPlaceholdersin classio.github.pylonmc.rebar.item.RebarItem
-
getTalismanKey
public org.bukkit.NamespacedKey getTalismanKey()Description copied from class:TalismanGet 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:
getTalismanKeyin classTalisman
-