Interface IFontEntry

All Known Implementing Classes:
BuiltinFonts

public interface IFontEntry
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.network.chat.MutableComponent
    Gets a description of the font.
    default net.minecraft.network.chat.MutableComponent
    Gets the localized name of the font.
    net.minecraft.resources.ResourceLocation
    Gets the ID of the font.
    default net.minecraft.network.chat.MutableComponent
    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.