Class EaglerFontRenderer
- java.lang.Object
-
- net.minecraft.client.gui.FontRenderer
-
- net.lax1dude.eaglercraft.v1_8.minecraft.EaglerFontRenderer
-
- All Implemented Interfaces:
IResourceManagerReloadListener
public class EaglerFontRenderer extends FontRenderer
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.FontRenderer
alpha, bidiFlag, blue, boldStyle, charWidth, colorCode, FONT_HEIGHT, fontRandom, glyphWidth, green, italicStyle, locationFontTexture, posX, posY, randomStyle, red, renderEngine, strikethroughStyle, textColor, underlineStyle, unicodeFlag, unicodePageLocations
-
-
Constructor Summary
Constructors Constructor Description EaglerFontRenderer(GameSettings gameSettingsIn, ResourceLocation location, TextureManager textureManagerIn, boolean unicode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
drawString(java.lang.String text, float x, float y, int color, boolean dropShadow)
+ Draws the specified string.protected void
renderStringAtPos(java.lang.String parString1, boolean parFlag)
+ Render a single line string at the current (posX,posY) and update posX-
Methods inherited from class net.minecraft.client.gui.FontRenderer
drawSplitString, drawString, drawStringWithShadow, getBidiFlag, getCharWidth, getColorCode, getFormatFromString, getStringWidth, getUnicodeFlag, listFormattedStringToWidth, onResourceManagerReload, resetStyles, setBidiFlag, setUnicodeFlag, splitStringWidth, trimStringToWidth, trimStringToWidth
-
-
-
-
Constructor Detail
-
EaglerFontRenderer
public EaglerFontRenderer(GameSettings gameSettingsIn, ResourceLocation location, TextureManager textureManagerIn, boolean unicode)
-
-
Method Detail
-
drawString
public int drawString(java.lang.String text, float x, float y, int color, boolean dropShadow)
Description copied from class:FontRenderer
+ Draws the specified string.- Overrides:
drawString
in classFontRenderer
-
renderStringAtPos
protected void renderStringAtPos(java.lang.String parString1, boolean parFlag)
Description copied from class:FontRenderer
+ Render a single line string at the current (posX,posY) and update posX- Overrides:
renderStringAtPos
in classFontRenderer
-
-