Examples of TileEntityCalcinator


Examples of com.pahimar.ee3.tileentity.TileEntityCalcinator

    }

    @Override
    public TileEntity createNewTileEntity(World world, int metaData)
    {
        return new TileEntityCalcinator();
    }
View Full Code Here

Examples of com.pahimar.ee3.tileentity.TileEntityCalcinator

    @Override
    public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick)
    {
        if (tileEntity instanceof TileEntityCalcinator)
        {
            TileEntityCalcinator tileEntityCalcinator = (TileEntityCalcinator) tileEntity;

            GL11.glPushMatrix();

            // Scale, Translate, Rotate
            GL11.glScalef(1.0F, 1.0F, 1.0F);
            GL11.glTranslatef((float) x + 0.5F, (float) y + 0.0F, (float) z + 1.2F);
            GL11.glRotatef(45F, 0F, 1F, 0F);
            GL11.glRotatef(-90F, 1F, 0F, 0F);

            // Bind texture
            if (tileEntityCalcinator.getState() == 1)
            {
                this.bindTexture(Textures.Model.CALCINATOR_ACTIVE);
            }
            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.