Interface IFontEntry
- All Known Implementing Classes:
BuiltinFonts
public interface IFontEntry
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.network.chat.MutableComponentGets a description of the font.default net.minecraft.network.chat.MutableComponentGets the localized name of the font.net.minecraft.resources.ResourceLocationGets the ID of the font.default net.minecraft.network.chat.MutableComponentpreview()Gets some text that can be used as a preview for the font in-game.
-
Method Details
-
identifier
net.minecraft.resources.ResourceLocation identifier()Gets the ID of the font.- Returns:
- The font ID.
-
displayName
default net.minecraft.network.chat.MutableComponent displayName()Gets the localized name of the font.- Returns:
- The localized name of the font.
-
description
default net.minecraft.network.chat.MutableComponent description()Gets a description of the font.- Returns:
- A description of the font.
-
preview
default net.minecraft.network.chat.MutableComponent preview()Gets some text that can be used as a preview for the font in-game.- Returns:
- The preview text for the font.
-