Class MovesetDefinition

java.lang.Object
com.pixelmonmod.pixelmon.world.generation.gyms.MovesetDefinition

public class MovesetDefinition extends Object
A potential moveset for a Gym Trainer's Pokémon.
  • Field Details

    • move1

      public String[] move1
      Lists of moves for each slot.
    • move2

      public String[] move2
      Lists of moves for each slot.
    • move3

      public String[] move3
      Lists of moves for each slot.
    • move4

      public String[] move4
      Lists of moves for each slot.
    • heldItem

      public String[] heldItem
      Held item array for this Pokémon.
    • nature

      public Nature[] nature
      Nature array for this Pokémon.
    • ability

      public Ability[] ability
      Ability array for this Pokémon.
    • evHP

      public int evHP
      EVs for this Pokémon.
    • evAtk

      public int evAtk
      EVs for this Pokémon.
    • evDef

      public int evDef
      EVs for this Pokémon.
    • evSpAtk

      public int evSpAtk
      EVs for this Pokémon.
    • evSpDef

      public int evSpDef
      EVs for this Pokémon.
    • evSpeed

      public int evSpeed
      EVs for this Pokémon.
    • ivHP

      public int ivHP
      IVs for this Pokémon.
    • ivAtk

      public int ivAtk
      IVs for this Pokémon.
    • ivDef

      public int ivDef
      IVs for this Pokémon.
    • ivSpAtk

      public int ivSpAtk
      IVs for this Pokémon.
    • ivSpDef

      public int ivSpDef
      IVs for this Pokémon.
    • ivSpeed

      public int ivSpeed
      IVs for this Pokémon.
    • ivsDefined

      public boolean ivsDefined
      Whether IVs have been explicitly chosen for the Pokémon.
    • doubleOnly

      public boolean doubleOnly
      If this Pokémon should only appear in double battles.
    • lead

      public boolean lead
      If this Pokémon should be sent out first.
    • minLevel

      public int minLevel
      The minimum Trainer pokemonLevel at which this moveset will appear.
    • form

      public int form
      The form of the Pokémon.
  • Constructor Details

    • MovesetDefinition

      public MovesetDefinition()
  • Method Details

    • readMovesetDefinition

      public static MovesetDefinition readMovesetDefinition(com.google.gson.JsonObject obj)
      Loads a moveset definition from JSON.
      Parameters:
      obj - The JSON object to load from.
      Returns:
      The loaded moveset definition.