mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-21 04:05:48 +00:00
26 lines
887 B
Java
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; }
|
||
|
|
||
|
}
|