public class PokemonHelper
extends java.lang.Object
| Constructor and Description |
|---|
PokemonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.text.IFormattableTextComponent |
getFullName(Pokemon pokemon)
Get a pokemon's full name with form and palette if obtained
|
static net.minecraft.util.text.IFormattableTextComponent |
getFullName(Pokemon pokemon,
boolean useNickname)
Get a pokemon's full name with form and palette if obtained
|
static boolean |
hasPermanentFormsOrPalettes(Pokemon pokemon)
Check if a pokemon has any non-default permanent forms or special palettes
|
static boolean |
isFormPermanent(Stats form)
Verify if a Stats form is non-default and permanent
|
static boolean |
isSpecialPalette(PaletteProperties palette)
Verify if a PaletteProperties is special palette
|
public static boolean hasPermanentFormsOrPalettes(Pokemon pokemon)
pokemon - public static boolean isFormPermanent(Stats form)
form - public static boolean isSpecialPalette(PaletteProperties palette)
palette - public static net.minecraft.util.text.IFormattableTextComponent getFullName(Pokemon pokemon)
pokemon - public static net.minecraft.util.text.IFormattableTextComponent getFullName(Pokemon pokemon, boolean useNickname)
pokemon - useNickname - true if the nickname should be used, false if the species name should be used