Package com.mojang.minecraft.render

Examples of com.mojang.minecraft.render.ShapeRenderer.color()


            ShapeRenderer var6 = ShapeRenderer.instance;
            int var7 = this.minecraft.textureManager.load("/dirt.png");
            GL11.glBindTexture(3553, var7);
            float var10 = 32.0F;
            var6.begin();
            var6.color(4210752);
            var6.vertexUV(0.0F, (float)var5, 0.0F, 0.0F, (float)var5 / var10);
            var6.vertexUV((float)var4, (float)var5, 0.0F, (float)var4 / var10, (float)var5 / var10);
            var6.vertexUV((float)var4, 0.0F, 0.0F, (float)var4 / var10, 0.0F);
            var6.vertexUV(0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
            var6.end();
View Full Code Here


            if(var1 >= 0) {
               var7 = var4 / 2 - 50;
               int var8 = var5 / 2 + 16;
               GL11.glDisable(3553);
               var6.begin();
               var6.color(8421504);
               var6.vertex((float)var7, (float)var8, 0.0F);
               var6.vertex((float)var7, (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + 100), (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + 100), (float)var8, 0.0F);
               var6.color(8454016);
View Full Code Here

               var6.color(8421504);
               var6.vertex((float)var7, (float)var8, 0.0F);
               var6.vertex((float)var7, (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + 100), (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + 100), (float)var8, 0.0F);
               var6.color(8454016);
               var6.vertex((float)var7, (float)var8, 0.0F);
               var6.vertex((float)var7, (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + var1), (float)(var8 + 2), 0.0F);
               var6.vertex((float)(var7 + var1), (float)var8, 0.0F);
               var6.end();
View Full Code Here

         }

         GL11.glBindTexture(3553, this.fontTexture);
         ShapeRenderer var6 = ShapeRenderer.instance;
         ShapeRenderer.instance.begin();
         var6.color(var4);
         int var7 = 0;

         for(int var8 = 0; var8 < var12.length; ++var8) {
            int var9;
            if(var12[var8] == 38 && var12.length > var8 + 1) {
View Full Code Here

               var8 += 2;
               if(var5) {
                  var4 = (var4 & 16579836) >> 2;
               }

               var6.color(var4);
            }

            var4 = var12[var8] % 16 << 3;
            var9 = var12[var8] / 16 << 3;
            float var13 = 7.99F;
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.