Examples of bindTexture()


Examples of com.mojang.minecraft.player.Player.bindTexture()

                                 GL11.glScalef(0.4F, var34, var34);
                                 GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
                                 GL11.glBindTexture(3553, var112.minecraft.textureManager.load("/terrain.png"));
                                 var112.block.renderPreview(var123);
                              } else {
                                 var116.bindTexture(var112.minecraft.textureManager);
                                 GL11.glScalef(1.0F, -1.0F, -1.0F);
                                 GL11.glTranslatef(0.0F, 0.2F, 0.0F);
                                 GL11.glRotatef(-120.0F, 0.0F, 0.0F, 1.0F);
                                 GL11.glScalef(1.0F, 1.0F, 1.0F);
                                 var34 = 0.0625F;
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

    {
    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
   
    if(renderengine != null)
    {
      renderengine.bindTexture("/textures/itemmodels/powercrystals/minefactoryreloaded/Rocket.png");
    }
   
    GL11.glPushMatrix();
   
    GL11.glTranslatef((float)x, (float)y, (float)z);
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
    TileEntityRedNetHistorian historian = (TileEntityRedNetHistorian)tileentity;
   
    if(renderengine != null)
    {
      renderengine.bindTexture(MineFactoryReloadedCore.tileEntityFolder + "historian.png");
    }
   
    GL11.glPushMatrix();

    GL11.glTranslatef((float)x, (float)y, (float)z);
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

  {
    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
   
    if(renderengine != null)
    {
      renderengine.bindTexture(MineFactoryReloadedCore.tileEntityFolder + "cards.png");
    }
   
    GL11.glPushMatrix();
   
    GL11.glTranslatef(-0.5f, 0, 0);
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

  {
    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
   
    if(renderengine != null)
    {
      renderengine.bindTexture("/textures/itemmodels/powercrystals/minefactoryreloaded/NeedleGun.png");
    }
   
    GL11.glPushMatrix();
   
    if(type == ItemRenderType.EQUIPPED_FIRST_PERSON)
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

  {
    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
   
    if(renderengine != null)
    {
      renderengine.bindTexture("/textures/itemmodels/powercrystals/minefactoryreloaded/Rocket.png");
    }
   
    GL11.glPushMatrix();
   
    if(type == ItemRenderType.EQUIPPED_FIRST_PERSON)
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

      if (item.hasEffect())
      {
        GL11.glEnable(GL11.GL_CULL_FACE);
        GL11.glDepthFunc(GL11.GL_GREATER);
        GL11.glDepthMask(false);
        renderEngine.bindTexture("%blur%/misc/glint.png");
        GL11.glEnable(GL11.GL_BLEND);
        GL11.glBlendFunc(GL11.GL_DST_COLOR, GL11.GL_DST_COLOR);
        GL11.glColor4f(0.5F, 0.25F, 0.8F, 1.0F);
        GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE);
        float f = 0.00390625F;
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

  {
    RenderEngine renderengine = Minecraft.getMinecraft().renderEngine;
   
    if(renderengine != null)
    {
      renderengine.bindTexture("/textures/itemmodels/powercrystals/minefactoryreloaded/RocketLauncher.png");
    }
   
    GL11.glPushMatrix();
   
    if(type == ItemRenderType.EQUIPPED_FIRST_PERSON)
View Full Code Here

Examples of net.minecraft.client.renderer.RenderEngine.bindTexture()

  private void bindTextureByName(String string) {
    RenderEngine var2 = TileEntityRenderer.instance.renderEngine;

    if (var2 != null) {
      var2.bindTexture(var2.getTexture(string));
    }
  }
}
View Full Code Here

Examples of net.minecraft.client.renderer.texture.TextureManager.bindTexture()

    GL11.glEnable(GL11.GL_BLEND);
    GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);

    ParticleRenderDispatcher.lightningCount = 0;

    render.bindTexture(outsideResource);
    tessellator.startDrawingQuads();
    tessellator.setBrightness(0xF000F0);
    for(LightningBolt bolt : LightningBolt.boltlist)
      renderBolt(bolt, tessellator, frame, ActiveRenderInfo.rotationX, ActiveRenderInfo.rotationXZ, ActiveRenderInfo.rotationZ, ActiveRenderInfo.rotationXY, 0, false);
    tessellator.draw();
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.