Class ImportExportForm

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.export.ImportExportForm

public class ImportExportForm extends Object
Used by the Pokémon editor to parse form differences.
  • Constructor Details

    • ImportExportForm

      public ImportExportForm()
  • Method Details

    • addSpeciesFormData

      public static void addSpeciesFormData(Species species, String... formNames)
      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

      public static void addFormData(Species species, String formName)
      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

      public static Optional<FormData> getFormData(String formName)
      Gets form data for a form name.
      Parameters:
      formName - The name of the form.
      Returns:
      Form data corresponding to the form
    • getGmaxData

      public static boolean getGmaxData(String formName)
      Gets Gmax data from the species-form name.
      Parameters:
      formName - The name of the form.
      Returns:
      if the Pokémon can Gigantamax