Class SocketItem

All Implemented Interfaces:
Tiered
Direct Known Subclasses:
EssencesManager.Essence, GemManager.Gem, RuneManager.Rune

public abstract class SocketItem extends RatedItem
  • Field Details

    • socketDisplay

      protected String socketDisplay
    • targetItemSocketId

      protected String targetItemSocketId
  • Constructor Details

    • SocketItem

      @Deprecated public SocketItem(@NotNull Divinity plugin, @NotNull String path, @NotNull ModuleSocket<?> module) throws org.bukkit.configuration.InvalidConfigurationException
      Deprecated.
      Throws:
      org.bukkit.configuration.InvalidConfigurationException
    • SocketItem

      public SocketItem(@NotNull Divinity plugin, @NotNull studio.magemonkey.codex.config.api.JYML cfg, @NotNull ModuleSocket<?> module)
  • Method Details

    • getSocketDisplay

      @NotNull public final String getSocketDisplay(int lvl)
    • getTargetSocketIdRequirement

      @NotNull public String getTargetSocketIdRequirement()
    • build

      @NotNull protected org.bukkit.inventory.ItemStack build(int lvl, int uses, int suc)
      Overrides:
      build in class RatedItem