Class BitmapProvider.Builder
java.lang.Object
net.minecraft.client.gui.font.providers.BitmapProvider.Builder
- All Implemented Interfaces:
GlyphProviderBuilder
- Enclosing class:
- BitmapProvider
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBuilder(ResourceLocation p_95349_, int p_95350_, int p_95351_, List<int[]> p_95352_)
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ResourceManager p_95354_)
static BitmapProvider.Builder
fromJson(com.google.gson.JsonObject p_95356_)
private int
getActualGlyphWidth(NativeImage p_95358_, int p_95359_, int p_95360_, int p_95361_, int p_95362_)
-
Field Details
-
texture
-
chars
-
height
private final int height -
ascent
private final int ascent
-
-
Constructor Details
-
Builder
-
-
Method Details
-
fromJson
-
create
- Specified by:
create
in interfaceGlyphProviderBuilder
-
getActualGlyphWidth
private int getActualGlyphWidth(NativeImage p_95358_, int p_95359_, int p_95360_, int p_95361_, int p_95362_)
-