public class Font1_16_5
extends mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>
wrappedBOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER| Constructor and Description |
|---|
Font1_16_5() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
draw(@Nullable mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
@Nullable java.lang.String text,
java.util.function.BiConsumer<com.mojang.blaze3d.vertex.PoseStack,java.lang.String> drawFunc) |
void |
draw(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
java.lang.String text,
float x,
float y,
int color) |
void |
drawInBatch(java.lang.Object text,
float x,
float y,
int color,
boolean shadow,
java.lang.Object matrix,
java.lang.Object source,
boolean transparent,
int bgColor,
int light) |
void |
drawWithShadow(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
java.lang.String text,
float x,
float y,
int color) |
int |
getCharWidth(char c) |
int |
getFontHeight() |
protected com.mojang.blaze3d.vertex.PoseStack |
getMatrix(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer) |
int |
getStringWidth(java.lang.String str) |
java.lang.String |
trimStringTo(java.lang.String str,
int width,
boolean withReset) |
getStringWidth, getWrapped, renderToolTip, trimStringTo, unwrapTooltipComponentsasOptional, equals, setWrapped, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefaultprotected void draw(@Nullable
@Nullable mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
@Nullable
@Nullable java.lang.String text,
java.util.function.BiConsumer<com.mojang.blaze3d.vertex.PoseStack,java.lang.String> drawFunc)
public void draw(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
java.lang.String text,
float x,
float y,
int color)
draw in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>public void drawInBatch(java.lang.Object text,
float x,
float y,
int color,
boolean shadow,
java.lang.Object matrix,
java.lang.Object source,
boolean transparent,
int bgColor,
int light)
drawInBatch in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>public void drawWithShadow(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer,
java.lang.String text,
float x,
float y,
int color)
drawWithShadow in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>public int getCharWidth(char c)
getCharWidth in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>public int getFontHeight()
getFontHeight in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>protected com.mojang.blaze3d.vertex.PoseStack getMatrix(mods.thecomputerizer.theimpossiblelibrary.api.client.render.RenderAPI renderer)
public int getStringWidth(java.lang.String str)
getStringWidth in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>public java.lang.String trimStringTo(java.lang.String str,
int width,
boolean withReset)
trimStringTo in class mods.thecomputerizer.theimpossiblelibrary.api.client.font.FontAPI<net.minecraft.client.gui.Font>