Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityAssemblyDrill


    public void renderStatic(float size, TileEntity te){}

    @Override
    public void renderDynamic(float size, TileEntity te, float partialTicks){
        if(te instanceof TileEntityAssemblyDrill) {
            TileEntityAssemblyDrill tile = (TileEntityAssemblyDrill)te;
            float[] renderAngles = new float[5];
            for(int i = 0; i < 4; i++) {
                renderAngles[i] = tile.oldAngles[i] + (tile.angles[i] - tile.oldAngles[i]) * partialTicks;
            }
            renderAngles[4] = tile.oldDrillRotation + (tile.drillRotation - tile.oldDrillRotation) * partialTicks;
 
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.tileentity.TileEntityAssemblyDrill

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.