Class Font1_12_2
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.MutableWrapped<net.minecraft.client.gui.FontRenderer>
mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.client.font.Font1_12_2
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.client.gui.FontRenderer>
public class Font1_12_2
extends mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.MutableWrapped
wrapped -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, String text, float x, float y, int color) voiddrawInBatch(Object text, float x, float y, int color, boolean shadow, Object matrix, Object source, boolean transparent, int bgColor, int light) voiddrawWithShadow(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, String text, float x, float y, int color) intgetCharWidth(char c) intintgetStringWidth(String str) voidrenderToolTip(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, Collection<mods.thecomputerizer.theimpossiblelibrary.api.text.TextAPI<?>> lines, int x, int y, int width, int height, int maxWidth) GuiUtils$drawHoveringText implementation from Forge but without disabling lightingtrimStringTo(String str, int width, boolean withReset) Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI
getWrapped, trimStringTo, unwrapTooltipComponentsMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.MutableWrapped
asOptional, equals, setWrapped, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped
getWrappedClass, unwrap
-
Constructor Details
-
Font1_12_2
public Font1_12_2()
-
-
Method Details
-
draw
public void draw(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, String text, float x, float y, int color) - Specified by:
drawin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
drawInBatch
-
drawWithShadow
public void drawWithShadow(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, String text, float x, float y, int color) - Specified by:
drawWithShadowin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
getCharWidth
public int getCharWidth(char c) - Specified by:
getCharWidthin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
getFontHeight
public int getFontHeight()- Specified by:
getFontHeightin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
getStringWidth
- Specified by:
getStringWidthin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
renderToolTip
public void renderToolTip(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer, Collection<mods.thecomputerizer.theimpossiblelibrary.api.text.TextAPI<?>> lines, int x, int y, int width, int height, int maxWidth) GuiUtils$drawHoveringText implementation from Forge but without disabling lighting- Overrides:
renderToolTipin classmods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.FontRenderer>
-
trimStringTo
-