Package net.minecraft.client.gui.fonts
Class FontTexture
- java.lang.Object
-
- net.minecraft.client.renderer.texture.Texture
-
- net.minecraft.client.gui.fonts.FontTexture
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FontTexture extends Texture
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
FontTexture.Entry
-
Field Summary
Fields Modifier and Type Field Description private boolean
colored
private ResourceLocation
name
private RenderType
normalType
private FontTexture.Entry
root
private RenderType
seeThroughType
-
Constructor Summary
Constructors Constructor Description FontTexture(ResourceLocation p_i49770_1_, boolean p_i49770_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TexturedGlyph
add(IGlyphInfo p_211131_1_)
void
close()
ResourceLocation
getName()
void
load(IResourceManager p_195413_1_)
-
Methods inherited from class net.minecraft.client.renderer.texture.Texture
bind, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
-
-
-
Field Detail
-
name
private final ResourceLocation name
-
normalType
private final RenderType normalType
-
seeThroughType
private final RenderType seeThroughType
-
colored
private final boolean colored
-
root
private final FontTexture.Entry root
-
-
Constructor Detail
-
FontTexture
public FontTexture(ResourceLocation p_i49770_1_, boolean p_i49770_2_)
-
-
Method Detail
-
load
public void load(IResourceManager p_195413_1_)
-
close
public void close()
-
add
@Nullable public TexturedGlyph add(IGlyphInfo p_211131_1_)
-
getName
public ResourceLocation getName()
-
-