Examples of applyRenderChangeIOUnit()


Examples of pneumaticCraft.api.client.assemblymachine.AssemblyRenderOverriding.IAssemblyRenderOverriding.applyRenderChangeIOUnit()

        GL11.glTranslated(-2 * clawTrans, 0, 0);
        Claw2.render(size);
        GL11.glPopMatrix();

        if(carriedItem != null) {
            if(renderOverride == null || renderOverride.applyRenderChangeIOUnit(carriedItem.getEntityItem())) {
                GL11.glRotated(90, 1, 0, 0);
                GL11.glTranslated(0, carriedItem.getEntityItem().getItem() instanceof ItemBlock ? 1.5 / 16D : 0.5 / 16D, -3 / 16D);
                GL11.glRotated(-90, 0, 1, 0);

                GL11.glScalef(scaleFactor, scaleFactor, scaleFactor);
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.