接口 Font
-
- 所有超级接口:
AutoCloseable,Closeable
- 所有已知实现类:
BitmapFont,BlankFont,TrueTypeFont,UnicodeTextureFont
@Environment(CLIENT) public interface Font extends Closeable
- Mappings:
Namespace Name official dnqintermediary net/minecraft/class_390named net/minecraft/client/font/Font
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default voidclose()default @Nullable RenderableGlyphgetGlyph(int codePoint)IntSetgetProvidedGlyphs()Returns the set of code points for which this font can provide glyphs.
-
-
-
方法详细资料
-
close
default void close()
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- Mappings:
Namespace Name Mixin selector official closeLdnq;close()Vintermediary closeLnet/minecraft/class_390;close()Vnamed closeLnet/minecraft/client/font/Font;close()V
-
getGlyph
@Nullable default @Nullable RenderableGlyph getGlyph(int codePoint)
- Mappings:
Namespace Name Mixin selector official aLdnq;a(I)Ldnr;intermediary method_2040Lnet/minecraft/class_390;method_2040(I)Lnet/minecraft/class_383;named getGlyphLnet/minecraft/client/font/Font;getGlyph(I)Lnet/minecraft/client/font/RenderableGlyph;
-
getProvidedGlyphs
IntSet getProvidedGlyphs()
Returns the set of code points for which this font can provide glyphs.- 返回:
- a set of integer code points.
- Mappings:
Namespace Name Mixin selector official aLdnq;a()Lit/unimi/dsi/fastutil/ints/IntSet;intermediary method_27442Lnet/minecraft/class_390;method_27442()Lit/unimi/dsi/fastutil/ints/IntSet;named getProvidedGlyphsLnet/minecraft/client/font/Font;getProvidedGlyphs()Lit/unimi/dsi/fastutil/ints/IntSet;
-
-