Examples of drawSplitString()


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

 
  @Override
  public void drawForeground(TextureManager renderEngine, int mouseX, int mouseY) {
    FontRenderer fontRenderer = guiContainer.getFontRenderer();
    if(xMax > 0) {
      fontRenderer.drawSplitString(labelText, relativeX, relativeY, color, xMax);
    }
    else {
      fontRenderer.drawString(labelText, relativeX, relativeY, color, dropShadow);
    }
  }
View Full Code Here

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

    {
      // PositionedStack cr = this.outputs.get( recipe );
      String details = this.details.get( this.offsets.get( recipe ) );

      FontRenderer fr = Minecraft.getMinecraft().fontRenderer;
      fr.drawSplitString( details, 10, 25, 150, 0 );
    }
  }

  @Override
  public List<PositionedStack> getIngredientStacks(int recipeIndex)
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.