Package net.minecraft.client.gui

Examples of net.minecraft.client.gui.FontRenderer.drawStringWithShadow()


   
    if (!this.knowsHowToUse)
    {
      float glocount = this.mod.util().getClientTick() + fspan;
      int blink = (int) (200 + 55 * (Math.sin(glocount * Math.PI * 0.07) + 1) / 2F);
      fontRenderer.drawStringWithShadow(
        this.MESSAGE_HINT, uposx + uwidth * 2, scrHeight / 2 + 10 * 2, blink << 16 | blink << 8 | blink);
     
      if (Math.abs(getInitialPitch() - getPitch()) > 60)
      {
        this.knowsHowToUse = true;
View Full Code Here


       
      }
     
    }
   
    fontRenderer.drawStringWithShadow(
      this.MESSAGE_MORE, uposx + uwidth * 2, scrHeight / 2 - scrHeight / 6 + 3, 0xffff00);
   
    fontRenderer.drawStringWithShadow(
      this.MESSAGE_LESS, uposx + uwidth * 2, scrHeight / 2 + scrHeight / 6 + 3, 0xffff00);
   
View Full Code Here

    }
   
    fontRenderer.drawStringWithShadow(
      this.MESSAGE_MORE, uposx + uwidth * 2, scrHeight / 2 - scrHeight / 6 + 3, 0xffff00);
   
    fontRenderer.drawStringWithShadow(
      this.MESSAGE_LESS, uposx + uwidth * 2, scrHeight / 2 + scrHeight / 6 + 3, 0xffff00);
   
    final int ucount = 8;
    final float speedytude = 20;
    for (int i = 0; i < ucount; i++)
View Full Code Here

    for (int i = 0; i < ucount; i++)
    {
      float perx = ((getPitch() + 90F) % speedytude / speedytude + i) / ucount;
      double pirx = Math.cos(Math.PI * perx);
     
      fontRenderer.drawStringWithShadow(
        "_", uposx, scrHeight / 2 + (int) Math.floor(pirx * scrHeight / 6), 0xffff00);
     
    }
   
  }
View Full Code Here

    boolean isActive = vis.isActive();
   
    Minecraft mc = Minecraft.getMinecraft();
    FontRenderer fontRenderer = mc.fontRendererObj;
   
    fontRenderer.drawStringWithShadow(name + "(" + feed + ")", x, y, isActive ? 0x0099FF : 0xFF0000);
   
    // PAINT
  }
 
  public Distances distances(Provider<? extends Visualized> provider)
View Full Code Here

    if (this.scanDebug.startsWith("scan_large"))
    {
      Progress progressObject = this.dataGatherer.getLargeScanProgress();
      float progress = (float) progressObject.getProgress_Current() / progressObject.getProgress_Total();
     
      fontRenderer.drawStringWithShadow(
        "Scan ["
          + mc.theWorld.getHeight() + "]: " + StringUtils.repeat("|", (int) (100 * progress)) + " ("
          + (int) (progress * 100) + "%)", 20, 2 + 9 * lineNumber, 0xFFFFCC);
    }
   
View Full Code Here

              if (index.startsWith("minecraft:"))
              {
                index = index.substring(10);
              }
             
              fontRenderer.drawStringWithShadow(bars
                + (fill == ALL * 2
                  ? ChatColorsSimple.COLOR_YELLOW + "++" + ChatColorsSimple.THEN_RESET : "") + " ("
                + count + ", " + percentage + "%) " + index, leftAlign, 2 + 9 * lineNumber, 0xFFFFFF);
              lineNumber = lineNumber + 1;
            }
View Full Code Here

          String val = sheet.get(index);
          if (!val.equals("0") && !val.equals(Integer.toString(Integer.MAX_VALUE)))
          {
            if (!index.equals("0"))
            {
              fontRenderer.drawStringWithShadow(
                index + " (" + EntityList.getStringFromID(Integer.parseInt(index)) + "): " + val,
                leftAlign, 2 + 9 * lineNumber, 0xFFFFFF);
            }
            else
            {
View Full Code Here

                index + " (" + EntityList.getStringFromID(Integer.parseInt(index)) + "): " + val,
                leftAlign, 2 + 9 * lineNumber, 0xFFFFFF);
            }
            else
            {
              fontRenderer.drawStringWithShadow(
                index + " (Player): " + val, leftAlign, 2 + 9 * lineNumber, 0xFFFFFF);
            }
           
            lineNumber = lineNumber + 1;
          }
View Full Code Here

          }
          else if (val.equals("1"))
          {
            color = 0x0099FF;
          }
          fontRenderer.drawStringWithShadow(index + ": " + val, leftAlign, 2 + 9 * lineNumber, color);
          lineNumber = lineNumber + 1;
        }
      }
    }
    GL11.glPopMatrix();
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.