Class ModdedArmorPiece

java.lang.Object
me.mythicalflame.spigotmodding.items.ModdedItem
me.mythicalflame.spigotmodding.items.ModdedArmorPiece

public abstract class ModdedArmorPiece extends ModdedItem
This class represents a custom armor piece.
  • Constructor Details

    • ModdedArmorPiece

      public ModdedArmorPiece(String namespace, String id, org.bukkit.Material material, String name, Integer customModelData, List<String> lore)
      Constructs a ModdedArmorPiece object.
      Parameters:
      namespace - The non-null namespace that this item belongs to.
      id - The non-null ID of this item.
      material - The non-null wearable Material that this item is based off of.
      name - The nullable display name of this item.
      customModelData - The nullable custom model data value of this item.
      lore - The nullable lore of the item.
      Throws:
      NotWearableException - If this constructor is called with a non-wearable Material