java.lang.Object
org.strassburger.lifestealz.util.customitems.customitemdata.CustomItemData
Direct Known Subclasses:
CustomHeartItemData, CustomReviveBeaconItemData

public class CustomItemData extends Object
  • Constructor Details

    • CustomItemData

      public CustomItemData(String itemId) throws IllegalArgumentException
      Creates a new CustomItemData object for the given item ID.
      Parameters:
      itemId - the ID of the custom item
      Throws:
      IllegalArgumentException - if the custom item with the given ID does not exist
  • Method Details

    • getConfigurationSection

      protected org.bukkit.configuration.ConfigurationSection getConfigurationSection()
      Returns the configuration section for this custom item.
      Returns:
      the configuration section for this custom item
    • getSound

    • getItemId

      public String getItemId()
    • getName

      public String getName()
    • getLore

      public List<String> getLore()
    • getMaterial

      public org.bukkit.Material getMaterial()
    • isEnchanted

      public boolean isEnchanted()
    • getCustomItemType

      public CustomItemType getCustomItemType()
    • isCraftable

      public boolean isCraftable()
    • requiresPermission

      public boolean requiresPermission()
    • getPermission

      public String getPermission()
    • isInvulnerable

      public boolean isInvulnerable()
    • isDespawnable

      public boolean isDespawnable()