@Override
public void renderItem(ItemRenderType type, ItemStack itemstack, Object... data) {
GL11.glPushAttrib(GL11.GL_COLOR_BUFFER_BIT);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
ItemInfusedSeeds item = (ItemInfusedSeeds) itemstack.getItem();
IIcon icon = item.getIconIndex(itemstack);
Aspect aspect = item.getAspect(itemstack);
if (type == ItemRenderType.INVENTORY) {
renderItemInInventory(itemstack, aspect, icon);
} else if (type == ItemRenderType.EQUIPPED || type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
renderItemInEquipped(itemstack, aspect, icon);
} else {