public static interface BitMapFontProvider.Builder
BitMapFontProvider
instances| Modifier and Type | Method and Description |
|---|---|
@NotNull BitMapFontProvider.Builder |
ascent(int ascent)
Sets the font ascent
|
@NotNull BitMapFontProvider |
build()
Builds a new
BitMapFontProvider instance. |
@NotNull BitMapFontProvider.Builder |
characters(@NotNull java.util.List<java.lang.String> characters)
Sets the font characters
|
default @NotNull BitMapFontProvider.Builder |
characters(java.lang.String... characters)
Sets the font characters
|
@NotNull BitMapFontProvider.Builder |
file(@NotNull net.kyori.adventure.key.Key file)
Sets the font texture location
|
@NotNull BitMapFontProvider.Builder |
height(int height)
Sets the font height
|
@Contract(value="_ -> this") @NotNull @NotNull BitMapFontProvider.Builder file(@NotNull @NotNull net.kyori.adventure.key.Key file)
file - The font texture location@Contract(value="_ -> this") @NotNull @NotNull BitMapFontProvider.Builder height(int height)
height - The font height@Contract(value="_ -> this") @NotNull @NotNull BitMapFontProvider.Builder ascent(int ascent)
ascent - The font ascent@Contract(value="_ -> this") @NotNull @NotNull BitMapFontProvider.Builder characters(@NotNull @NotNull java.util.List<java.lang.String> characters)
characters - The font characters@Contract(value="_ -> this") @NotNull default @NotNull BitMapFontProvider.Builder characters(@NotNull java.lang.String... characters)
characters - The font characters@Contract(value="-> new") @NotNull @NotNull BitMapFontProvider build()
BitMapFontProvider instance.BitMapFontProvider instance