Class ImportExportForm
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.export.ImportExportForm
Used by the Pokémon editor to parse form differences.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFormData(Species species, String formName) Registers data about a Pokémon form.static voidaddSpeciesFormData(Species species, String... formNames) Adds form data for a certain Pokémon pokemon.getFormData(String formName) Gets form data for a form name.static booleangetGmaxData(String formName) Gets Gmax data from the species-form name.
-
Constructor Details
-
ImportExportForm
public ImportExportForm()
-
-
Method Details
-
addSpeciesFormData
Adds form data for a certain Pokémon pokemon.- Parameters:
species- The pokemon of Pokémon to add form data for.formNames- The names of the Pokemon's forms, excluding base form.
-
addFormData
Registers data about a Pokémon form.- Parameters:
species- The Pokémon form's pokemon.formName- The appendage to the Pokémon form's name.
-
getFormData
Gets form data for a form name.- Parameters:
formName- The name of the form.- Returns:
- Form data corresponding to the form
-
getGmaxData
Gets Gmax data from the species-form name.- Parameters:
formName- The name of the form.- Returns:
- if the Pokémon can Gigantamax
-