Package net.minecraft.client.font
Class GlyphAtlasTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.font.GlyphAtlasTexture
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class GlyphAtlasTexture extends AbstractTexture
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGlyphAtlasTexture.Slot -
Field Summary
Fields Modifier and Type Field Description private booleanhasColorprivate Identifieridprivate GlyphAtlasTexture.SlotrootSlotprivate RenderLayerseeThroughTextLayerprivate RenderLayertextLayerFields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, glId, mipmap -
Constructor Summary
Constructors Constructor Description GlyphAtlasTexture(Identifier id, boolean hasColor) -
Method Summary
Modifier and Type Method Description voidclose()GlyphRenderergetGlyphRenderer(RenderableGlyph glyph)IdentifiergetId()voidload(ResourceManager manager)Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, getGlId, registerTexture, setFilter
-
Field Details
-
id
-
textLayer
-
seeThroughTextLayer
-
hasColor
private final boolean hasColor -
rootSlot
-
-
Constructor Details
-
GlyphAtlasTexture
-
-
Method Details
-
load
- Specified by:
loadin classAbstractTexture
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classAbstractTexture
-
getGlyphRenderer
-
getId
-