Class ShopItem

java.lang.Object
xericker.arenalegends.gameplay.shop.ShopHandler
xericker.arenalegends.data.shopitem.ShopItem

public class ShopItem extends ShopHandler
  • Constructor Details

    • ShopItem

      public ShopItem(String id, xericker.xerlib.config.ConfigInstance configInstance)
  • Method Details

    • getId

      public String getId()
    • getValidation

      public xericker.xerlib.data.validator.DataValidation getValidation()
    • getPurchase

      public ShopItem.Purchase getPurchase()
    • getUpgrade

      public ShopItem.Upgrade getUpgrade()
    • getEnchant

      public ShopItem.Enchant getEnchant()
    • getMythic

      public ShopItem.Mythic getMythic()
    • getCommand

      public ShopItem.Command getCommand()
    • getEquipmentBuilder

      public ShopItem.EquipmentBuilder getEquipmentBuilder()
    • getPermissions

      public String[] getPermissions()
    • hasPermission

      public boolean hasPermission(Object object)
    • has

      public boolean has(org.bukkit.entity.Player player)
    • getAffordable

      public static List<ShopItem> getAffordable(org.bukkit.entity.Player player)
    • getBaseGoldCost

      public int getBaseGoldCost(org.bukkit.entity.Player player)
    • getGoldCost

      public int getGoldCost(org.bukkit.entity.Player player)
    • getBaseAvailable

      public static List<ShopItem> getBaseAvailable(org.bukkit.entity.Player player, boolean previewMode)
    • getAvailable

      public static List<ShopItem> getAvailable(org.bukkit.entity.Player player, boolean previewMode)