Glyph provider

Helpers that build a minecraft:glyph_provider object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

Bitmap

Bitmap
Bitmap(file, ascent, chars, height?, filter?)
file
string
ascent
int
chars
list of string (at least 1) (at least 1)
heightoptional
int
filteroptional
map of FontOption to bool

Reference

Reference
Reference(id, filter?)
id
font id
filteroptional
map of FontOption to bool

Space

Space
Space(advances, filter?)
advances
map of string (exactly 1) to number
filteroptional
map of FontOption to bool

Ttf

Ttf
Ttf(file, size?, oversample?, shift?, skip?, filter?)
file
string
sizeoptional
number
oversampleoptional
number
shiftoptional
list of number (exactly 2)
skipoptional
string | list of string
filteroptional
map of FontOption to bool

Unihex

Unihex
Unihex(hex_file, size_overrides?, filter?)
hex_file
string

ZIP archive containing one or more *.hex files (files in archive with different extensions are ignored).

size_overridesoptional
list of UnihexOverrideRange

List of ranges to override the size of.

filteroptional
map of FontOption to bool