Class CustomItems

java.lang.Object
stawa.vitalstrike.items.CustomItems

public class CustomItems extends Object
Manages custom items for the VitalStrike plugin. This class handles creation and validation of special items.
  • Constructor Details

  • Method Details

    • createVitalAwakening

      public org.bukkit.inventory.ItemStack createVitalAwakening() throws Errors.ConfigurationException
      Creates a new Vital Awakening item with custom properties and lore. This special item allows downed players to self-revive when used.
      Returns:
      A new ItemStack representing the Vital Awakening item
      Throws:
      Errors.ConfigurationException - If there's an error creating the item or setting its metadata
    • isVitalAwakening

      public boolean isVitalAwakening(org.bukkit.inventory.ItemStack item)
      Checks if the given ItemStack is a Vital Awakening item.
      Parameters:
      item - The ItemStack to check
      Returns:
      true if the item is a Vital Awakening item, false otherwise