Class GlyphService

java.lang.Object
com.github.darksoulq.abyssallib.server.translation.GlyphService

public final class GlyphService extends Object
Provides integration between the translation system and named font glyphs.

This service allows the use of registered font glyphs within MiniMessage tags via the <glyph:namespace:name> syntax.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.kyori.adventure.text.minimessage.tag.resolver.TagResolver
    Creates a TagResolver that handles the glyph tag.

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GlyphService

      public GlyphService()
  • Method Details

    • resolve

      public static net.kyori.adventure.text.minimessage.tag.resolver.TagResolver resolve()
      Creates a TagResolver that handles the glyph tag.

      Usage in MiniMessage: <glyph:abyssallib:mouse_left>

      Returns:
      A TagResolver handling dynamic glyph resolution.