| Modifier and Type | Field and Description |
|---|---|
static Font |
BIRCH_PLANKS
The birch planks font
|
static Font |
BLACK
The black font
|
static Font |
BLUE
The blue font
|
static Font |
BROWN
The brown font
|
static Font |
COBBLESTONE
The cobblestone font
|
static Font |
CYAN
The cyan font
|
static Font |
DIAMOND
The diamond font
|
static Font |
DIRT
The dirt font
|
static Font |
GOLD
The gold font
|
static Font |
GRAY
The gray font
|
static Font |
GREEN
The green font
|
static Font |
JUNGLE_PLANKS
The jungle planks font
|
static Font |
LETTER_CUBE
The letter cube font
|
static Font |
LIGHT_BLUE
The light blue font
|
static Font |
LIGHT_GRAY
The light gray font
|
static Font |
LIME
The lime font
|
static Font |
MAGENTA
The magenta font
|
static Font |
MONITOR
The monitor font
|
static Font |
OAK_LOG
The oak log font
|
static Font |
OAK_PLANKS
The oak planks font
|
static Font |
ORANGE
The orange font
|
static Font |
PINK
The pink font
|
static Font |
PLUSH
The plush font
|
static Font |
PUMPKIN
The pumpkin font
|
static Font |
PURPLE
The purple font
|
static Font |
QUARTZ
The quartz font
|
static Font |
RAINBOW
The rainbow font
|
static Font |
RED
The red font
|
static Font |
SPRUCE_PLANKS
The spruce planks font
|
static Font |
STONE
The stone font
|
static Font |
WATERMELON
The watermelon font
|
static Font |
WHITE
The white font
|
static Font |
YELLOW
The yellow font
|
| Constructor and Description |
|---|
Font() |
| Modifier and Type | Method and Description |
|---|---|
static Font |
fromName(String name)
Gets a font by its name.
|
abstract org.bukkit.inventory.ItemStack |
getDefaultItem()
Gets a default item for characters that do not have a dedicated item
|
static void |
registerFont(String name,
Font font)
Registers a custom font so it can be used in lookups and XML files.
|
abstract org.bukkit.inventory.ItemStack |
toItem(char character)
Turns the specified character into an
ItemStack representing the specified character. |
public static final Font BIRCH_PLANKS
public static final Font BLACK
public static final Font BLUE
public static final Font BROWN
public static final Font COBBLESTONE
public static final Font CYAN
public static final Font DIAMOND
public static final Font DIRT
public static final Font GOLD
public static final Font GRAY
public static final Font GREEN
public static final Font JUNGLE_PLANKS
public static final Font LETTER_CUBE
public static final Font LIGHT_BLUE
public static final Font LIGHT_GRAY
public static final Font LIME
public static final Font MAGENTA
public static final Font MONITOR
public static final Font OAK_LOG
public static final Font OAK_PLANKS
public static final Font ORANGE
public static final Font PINK
public static final Font PLUSH
public static final Font PUMPKIN
public static final Font PURPLE
public static final Font QUARTZ
public static final Font RAINBOW
public static final Font RED
public static final Font SPRUCE_PLANKS
public static final Font STONE
public static final Font WATERMELON
public static final Font WHITE
public static final Font YELLOW
@NotNull @Contract(pure=true) public abstract org.bukkit.inventory.ItemStack getDefaultItem()
@Nullable @Contract(pure=true) public abstract org.bukkit.inventory.ItemStack toItem(char character)
ItemStack representing the specified character. If there is no item
for the specified character this will return null.character - the character to get an item from@Nullable @Contract(pure=true) public static Font fromName(@NotNull String name)
name - the name of the font@Contract(pure=true)
public static void registerFont(@NotNull
String name,
@NotNull
Font font)
name - the font namefont - the fontCopyright © 2019. All rights reserved.