Package net.minecraft.client.gui

Examples of net.minecraft.client.gui.ScaledResolution


    }   
 
  @Override
  public void drawScreen(int i, int j, float f)
  {
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);

    mc.renderEngine.bindTexture(texture);
 
View Full Code Here


  }

  @Override
  public void drawScreen(int i, int j, float f)
  {
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);
    mc.renderEngine.bindTexture(texture);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
View Full Code Here

  }
 
  public void renderTwoTeamGUI(PacketTeamInfo teamInfo)
  {
    long newTime = mc.theWorld.getWorldInfo().getWorldTime();
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);

    mc.renderEngine.bindTexture(texture2);
 
View Full Code Here

  }
 
  public void renderDMGUI(PacketTeamInfo teamInfo)
  {
    long newTime = mc.theWorld.getWorldInfo().getWorldTime();
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);

    mc.renderEngine.bindTexture(texture);
 
View Full Code Here

  }
  
  @Override
  public void drawScreen(int i, int j, float f)
  {
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);
    mc.renderEngine.bindTexture(texture);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
View Full Code Here

  }
 
  @Override
  public void drawScreen(int i, int j, float f)
  {
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int k = scaledresolution.getScaledWidth();
    int l = scaledresolution.getScaledHeight();
    FontRenderer fontrenderer = mc.fontRenderer;
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);
    mc.renderEngine.bindTexture(texture);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
View Full Code Here

      }
      //Update the buttons
      updateButtons();
     
      //Standard GUI render stuff
      ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int w = scaledresolution.getScaledWidth();
    int h = scaledresolution.getScaledHeight();
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);
   
    //Bind the background texture
    mc.renderEngine.bindTexture(texture);
View Full Code Here

   
  @Override
  public void drawScreen(int i, int j, float f)
  {
    String recipeName;
    ScaledResolution scaledresolution = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
    int w = scaledresolution.getScaledWidth();
    int h = scaledresolution.getScaledHeight();
    drawDefaultBackground();
    GL11.glEnable(3042 /*GL_BLEND*/);
    //Bind the background texture
    mc.renderEngine.bindTexture(texture);
    GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
View Full Code Here

    {
      event.setCanceled(true);
      return;
    }
   
    ScaledResolution scaledresolution = new ScaledResolution(FlansModClient.minecraft, FlansModClient.minecraft.displayWidth, FlansModClient.minecraft.displayHeight);
    int i = scaledresolution.getScaledWidth();
    int j = scaledresolution.getScaledHeight();
         
    Tessellator tessellator = Tessellator.instance;
   
    if(!event.isCancelable() && event.type == ElementType.HELMET)
    {
View Full Code Here

    }

    @Override
    public void renderGameOverlay(float partialTicks, boolean hasScreen, int mouseX, int mouseY)
    {
        res = new ScaledResolution(mc, mc.displayWidth, mc.displayHeight);
        eventParent = new RenderGameOverlayEvent(partialTicks, res, mouseX, mouseY);
        int width = res.getScaledWidth();
        int height = res.getScaledHeight();
        renderHealthMount = mc.thePlayer.ridingEntity instanceof EntityLivingBase;
        renderFood = mc.thePlayer.ridingEntity == null;
View Full Code Here

TOP

Related Classes of net.minecraft.client.gui.ScaledResolution

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.