static Tag create(final ArgumentQueue args, final Context ctx) throws ParsingException {
    final Key font;
    @Subst("empty") final String valueOrNamespace = args.popOr("A font tag must have either arguments of either <value> or <namespace:value>").value();
    try {
      if (!args.hasNext()) {
        font = Key.key(valueOrNamespace);
      } else {
        @Subst("empty") final String fontKey = args.pop().value();
        font = Key.key(valueOrNamespace, fontKey);
      }
    } catch (final InvalidKeyException ex) {
      throw ctx.newException(ex.getMessage(), args);
    }

    return Tag.styling(builder -> builder.font(font));
  }
A decoration that applies a font name.

@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/FontTag.java