package pixlepix.auracascade.item;
import baubles.api.BaubleType;
import baubles.api.IBauble;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import pixlepix.auracascade.registry.CraftingBenchRecipe;
import pixlepix.auracascade.registry.ITTinkererItem;
import pixlepix.auracascade.registry.ThaumicTinkererRecipe;
import java.util.ArrayList;
/**
* Created by localmacaccount on 5/30/15.
*/
public class ItemAngelJump extends Item implements IBauble, ITTinkererItem {
public ItemAngelJump() {
super();
setMaxStackSize(1);
}
@Override
public BaubleType getBaubleType(ItemStack itemStack) {
return BaubleType.AMULET;
}
@Override
public void onWornTick(ItemStack itemStack, EntityLivingBase player) {
}
@Override
public void onEquipped(ItemStack itemStack, EntityLivingBase entityLivingBase) {
}
@Override
public void onUnequipped(ItemStack itemStack, EntityLivingBase entityLivingBase) {
}
@Override
public boolean canEquip(ItemStack itemStack, EntityLivingBase entityLivingBase) {
return true;
}
@Override
public boolean canUnequip(ItemStack itemStack, EntityLivingBase entityLivingBase) {
return true;
}
@Override
public ArrayList<Object> getSpecialParameters() {
return null;
}
@Override
public String getItemName() {
return "angelJumpAmulet";
}
@Override
public boolean shouldRegister() {
return true;
}
@Override
public boolean shouldDisplayInTab() {
return true;
}
@Override
public ThaumicTinkererRecipe getRecipeItem() {
return new CraftingBenchRecipe(new ItemStack(this), " F ", "FPF", " F ", 'F', new ItemStack(Blocks.PISTON), 'P', ItemMaterial.getPrism());
}
@Override
public int getCreativeTabPriority() {
return -30;
}
}