Package mods.railcraft.client.render

Examples of mods.railcraft.client.render.TexturedQuadAdv


        public ModelLampOn() {
            for (Object box : renderer.cubeList) {
                TexturedQuadAdv[] quadsNew = new TexturedQuadAdv[6];
                TexturedQuad[] quadsOld = ObfuscationReflectionHelper.getPrivateValue(ModelBox.class, (ModelBox) box, 1);
                for (int i = 0; i < 6; i++) {
                    quadsNew[i] = new TexturedQuadAdv(quadsOld[i].vertexPositions);
                    quadsNew[i].setBrightness(210);
                    quadsNew[i].setColorRGBA(255, 255, 255, 255);
                }
                ObfuscationReflectionHelper.setPrivateValue(ModelBox.class, (ModelBox) box, quadsNew, 1);
            }
View Full Code Here


    public ModelMaintanceLampOn() {
        for (Object box : renderer.cubeList) {
            TexturedQuadAdv[] quadsNew = new TexturedQuadAdv[6];
            TexturedQuad[] quadsOld = ObfuscationReflectionHelper.getPrivateValue(ModelBox.class, (ModelBox) box, 1);
            for (int i = 0; i < 6; i++) {
                quadsNew[i] = new TexturedQuadAdv(quadsOld[i].vertexPositions);
                quadsNew[i].setBrightness(210);
                quadsNew[i].setColorRGBA(255, 255, 255, 255);
            }
            ObfuscationReflectionHelper.setPrivateValue(ModelBox.class, (ModelBox) box, quadsNew, 1);
        }
View Full Code Here

TOP

Related Classes of mods.railcraft.client.render.TexturedQuadAdv

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.