2016-04-14 16:24:03 +00:00
|
|
|
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem;
|
|
|
|
|
|
|
|
import me.mrCookieSlime.Slimefun.Lists.RecipeType;
|
|
|
|
import me.mrCookieSlime.Slimefun.Objects.Category;
|
|
|
|
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
|
|
|
|
public class DamagableChargableItem extends SlimefunItem {
|
|
|
|
|
2019-08-28 08:59:20 +00:00
|
|
|
private String chargeType;
|
2016-04-14 16:24:03 +00:00
|
|
|
|
2017-10-13 18:59:52 +00:00
|
|
|
public DamagableChargableItem(Category category, ItemStack item, String id, RecipeType recipeType, ItemStack[] recipe, String chargeType) {
|
|
|
|
super(category, item, id, recipeType, recipe);
|
2016-04-14 16:24:03 +00:00
|
|
|
this.chargeType = chargeType;
|
|
|
|
}
|
|
|
|
|
2017-10-13 18:59:52 +00:00
|
|
|
public DamagableChargableItem(Category category, ItemStack item, String id, RecipeType recipeType, ItemStack[] recipe, String chargeType, String[] keys, Object[] values) {
|
|
|
|
super(category, item, id, recipeType, recipe, keys, values);
|
2016-04-14 16:24:03 +00:00
|
|
|
this.chargeType = chargeType;
|
|
|
|
}
|
|
|
|
|
2019-08-28 08:59:20 +00:00
|
|
|
public String getChargeType() {
|
|
|
|
return this.chargeType;
|
|
|
|
}
|
2016-04-14 16:24:03 +00:00
|
|
|
|
|
|
|
}
|