1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 12:15:50 +00:00
Slimefun4/src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunArmorPiece.java
mrCookieSlime 686004304c Slimefun 4
2016-04-14 18:24:03 +02:00

26 lines
887 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;
import org.bukkit.potion.PotionEffect;
public class SlimefunArmorPiece extends SlimefunItem {
PotionEffect[] effects;
public SlimefunArmorPiece(Category category, ItemStack item, String name, RecipeType recipeType, ItemStack[] recipe, PotionEffect[] effects) {
super(category, item, name, recipeType, recipe);
this.effects = effects;
}
public SlimefunArmorPiece(Category category, ItemStack item, String name, RecipeType recipeType, ItemStack[] recipe, PotionEffect[] effects, String[] keys, Object[] values) {
super(category, item, name, recipeType, recipe, keys, values);
this.effects = effects;
}
public PotionEffect[] getEffects() { return this.effects; }
}