Examples of ItemInfusedSeeds


Examples of thaumic.tinkerer.common.item.ItemInfusedSeeds

    @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 {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.