package wehavecookies56.kk.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import wehavecookies56.kk.KingdomKeys;
import wehavecookies56.kk.core.extendedproperties.EntityPropertyDriveForm;
import wehavecookies56.kk.lib.Strings;
public class ItemWisdomFormOrb extends Item {
public ItemWisdomFormOrb() {
super();
this.setUnlocalizedName(Strings.WisdomFormOrb);
this.setCreativeTab(KingdomKeys.KKTAB);
}
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer entity)
{
EntityPropertyDriveForm df = EntityPropertyDriveForm.get(entity);
df.setWisdomUnlocked(1);
return item;
}
}