Package tconstruct.tools.entity

Examples of tconstruct.tools.entity.FancyEntityItem


            renderItem(logic, stack);
    }

    void renderItem (DryingRackLogic logic, ItemStack stack)
    {
        FancyEntityItem entityitem = new FancyEntityItem(logic.getWorldObj(), 0.0D, 0.0D, 0.0D, stack);
        entityitem.getEntityItem().stackSize = 1;
        entityitem.hoverStart = 0.0F;
        GL11.glPushMatrix();
        int meta = logic.getWorldObj().getBlockMetadata(logic.xCoord, logic.yCoord, logic.zCoord);
        if (meta <= 1)
            GL11.glTranslatef(1F, -0.375F, 0.905F);
View Full Code Here


        return true;
    }

    public Entity createEntity (World world, Entity location, ItemStack itemstack)
    {
        return new FancyEntityItem(world, location, itemstack);
    }
View Full Code Here

        return true;
    }

    public Entity createEntity (World world, Entity location, ItemStack itemstack)
    {
        return new FancyEntityItem(world, location, itemstack);
    }
View Full Code Here

        GL11.glPopMatrix();
    }

    void renderItem (CastingBasinLogic logic, ItemStack stack)
    {
        FancyEntityItem entityitem = new FancyEntityItem(logic.getWorldObj(), 0.0D, 0.0D, 0.0D, stack);
        entityitem.getEntityItem().stackSize = 1;
        entityitem.hoverStart = 0.0F;
        GL11.glPushMatrix();
        GL11.glTranslatef(1F, 0.675F, 1.0F);
        // GL11.glRotatef(90F, 1, 0F, 0F);
        GL11.glScalef(1.75F, 1.75F, 1.75F);
View Full Code Here

            renderItem(logic, stack);
    }

    void renderItem (CastingTableLogic logic, ItemStack stack)
    {
        FancyEntityItem entityitem = new FancyEntityItem(logic.getWorldObj(), 0.0D, 0.0D, 0.0D, stack);
        entityitem.getEntityItem().stackSize = 1;
        entityitem.hoverStart = 0.0F;
        GL11.glPushMatrix();
        GL11.glTranslatef(1F, 1.48F, 0.55F);
        GL11.glRotatef(90F, 1, 0F, 0F);
        GL11.glScalef(2F, 2F, 2F);
View Full Code Here

TOP

Related Classes of tconstruct.tools.entity.FancyEntityItem

Copyright © 2018 www.massapicom. 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.