1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 20:25:54 +00:00
Slimefun4/src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/ChargableItem.java

27 lines
823 B
Java
Raw Normal View History

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 ChargableItem extends SlimefunItem {
2019-08-27 20:32:26 +00:00
private String chargeType;
2016-04-14 16:24:03 +00:00
public ChargableItem(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;
}
public ChargableItem(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-27 20:32:26 +00:00
public String getChargeType() {
return chargeType;
}
2016-04-14 16:24:03 +00:00
}