Package com.mojang.minecraft.render

Examples of com.mojang.minecraft.render.TextureManager.load()


            GL11.glTranslatef(1.0F, 0.5F, 0.0F);
            GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F);
            GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
            GL11.glTranslatef(-1.5F, 0.5F, 0.5F);
            GL11.glScalef(-1.0F, -1.0F, -1.0F);
            int var20 = var6.load("/terrain.png");
            GL11.glBindTexture(3553, var20);
            var7.begin();
            Block.blocks[var15].renderFullbright(var7);
            var7.end();
            GL11.glPopMatrix();
View Full Code Here


      while(iterator.hasNext())
      {
        i = (Integer)iterator.next();
        image = (BufferedImage)textureManager.textureImages.get(Integer.valueOf(i));

        textureManager.load(image, i);
      }

      iterator = textureManager.textures.keySet().iterator();

      while(iterator.hasNext())
View Full Code Here

            image = ImageIO.read(TextureManager.class.getResourceAsStream(s));
          }

          i = (Integer)textureManager.textures.get(s);

          textureManager.load(image, i);
        } catch (IOException var6) {
          var6.printStackTrace();
        }
      }
    }
View Full Code Here

      }

      drawCenteredString(this.fontRenderer, "Select block", this.width / 2, 40, 16777215);
      TextureManager var7 = this.minecraft.textureManager;
      ShapeRenderer var8 = ShapeRenderer.instance;
      var2 = var7.load("/terrain.png");
      GL11.glBindTexture(3553, var2);

      for(var2 = 0; var2 < SessionData.allowedBlocks.size(); ++var2) {
         Block var4 = (Block)SessionData.allowedBlocks.get(var2);
         GL11.glPushMatrix();
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.