mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-21 04:05:48 +00:00
25 lines
828 B
Java
25 lines
828 B
Java
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 {
|
|
|
|
String chargeType;
|
|
|
|
public ChargableItem(Category category, ItemStack item, String name, RecipeType recipeType, ItemStack[] recipe, String chargeType) {
|
|
super(category, item, name, recipeType, recipe);
|
|
this.chargeType = chargeType;
|
|
}
|
|
|
|
public ChargableItem(Category category, ItemStack item, String name, RecipeType recipeType, ItemStack[] recipe, String chargeType, String[] keys, Object[] values) {
|
|
super(category, item, name, recipeType, recipe, keys, values);
|
|
this.chargeType = chargeType;
|
|
}
|
|
|
|
public String getChargeType() { return this.chargeType; }
|
|
|
|
}
|