public class CraftingConfigurator extends GlobalConfigurationUtils
Constructor and Description |
---|
CraftingConfigurator() |
Modifier and Type | Method and Description |
---|---|
static int |
getCraftingCostItemAmount(int itemIndex,
int requirementIndex) |
static java.lang.String |
getCraftingCostItemString(int itemIndex,
int requirementIndex) |
static int |
getItemAmount(int itemIndex) |
static int |
getItemCraftingCostsAmount(int itemIndex) |
static int |
getItemLevel(int itemIndex) |
static java.util.List<java.lang.String> |
getItemLores(int itemIndex) |
static java.lang.String |
getItemMaterial(int itemIndex) |
static java.lang.String |
getItemName(int itemIndex) |
static int |
getPotionDuration(int itemIndex) |
static int |
getPotionLevel(int itemIndex) |
static org.bukkit.potion.PotionEffectType |
getPotionType(int itemIndex) |
mainConfigGetBoolean, mainConfigGetDouble, mainConfigGetInt, mainConfigGetKeys, mainConfigGetLocation, mainConfigGetLong, mainConfigGetString, mainConfigGetStringList, mainConfigSet
public static java.lang.String getItemMaterial(int itemIndex)
itemIndex
- The number of the craftable item.public static int getItemAmount(int itemIndex)
itemIndex
- The number of the craftable item.public static java.lang.String getItemName(int itemIndex)
itemIndex
- The number of the craftable item.public static java.util.List<java.lang.String> getItemLores(int itemIndex)
itemIndex
- The number of the craftable item.public static int getItemLevel(int itemIndex)
itemIndex
- The number of the craftable item.public static int getItemCraftingCostsAmount(int itemIndex)
itemIndex
- The number of the craftable item.public static org.bukkit.potion.PotionEffectType getPotionType(int itemIndex)
itemIndex
- The number of the craftable item.public static int getPotionDuration(int itemIndex)
itemIndex
- The number of the craftable item.public static int getPotionLevel(int itemIndex)
itemIndex
- The number of the craftable item.public static java.lang.String getCraftingCostItemString(int itemIndex, int requirementIndex)
itemIndex
- The number of the craftable item.requirementIndex
- The requirement number of the craftable item.public static int getCraftingCostItemAmount(int itemIndex, int requirementIndex)
itemIndex
- The number of the craftable item.requirementIndex
- The reuirement number of the craftable item.