Package net.minecraft.client.gui

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


      if(title.equals(origTitle) && bevo)
        title = StatCollector.translateToLocal("item.botania:lexicon.bevo");
      if(title.equals(origTitle) && saice)
        title = StatCollector.translateToLocal("item.botania:lexicon.saice");

      font.drawString(font.trimStringToWidth(title, 80), 0, 0, 0xD69700);
      GL11.glTranslatef(0F, 10F, 0F);
      GL11.glScalef(0.6F, 0.6F, 0.6F);
      font.drawString(EnumChatFormatting.ITALIC + "" + EnumChatFormatting.BOLD + String.format(StatCollector.translateToLocal("botaniamisc.edition"), ItemLexicon.getEdition()), 0, 0, 0xA07100);

      GL11.glTranslatef(0F, 15F, 0F);
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.