Class MovesetDefinition
java.lang.Object
com.pixelmonmod.pixelmon.world.generation.gyms.MovesetDefinition
A potential moveset for a Gym Trainer's Pokémon.
-
Field Summary
Modifier and TypeFieldDescriptionAbility[]
Ability array for this Pokémon.boolean
If this Pokémon should only appear in double battles.int
EVs for this Pokémon.int
EVs for this Pokémon.int
EVs for this Pokémon.int
EVs for this Pokémon.int
EVs for this Pokémon.int
EVs for this Pokémon.int
The form of the Pokémon.String[]
Held item array for this Pokémon.int
IVs for this Pokémon.int
IVs for this Pokémon.int
IVs for this Pokémon.boolean
Whether IVs have been explicitly chosen for the Pokémon.int
IVs for this Pokémon.int
IVs for this Pokémon.int
IVs for this Pokémon.boolean
If this Pokémon should be sent out first.int
The minimum Trainer pokemonLevel at which this moveset will appear.String[]
Lists of moves for each slot.String[]
Lists of moves for each slot.String[]
Lists of moves for each slot.String[]
Lists of moves for each slot.Nature[]
Nature array for this Pokémon. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MovesetDefinition
readMovesetDefinition
(com.google.gson.JsonObject obj) Loads a moveset definition from JSON.
-
Field Details
-
move1
Lists of moves for each slot. -
move2
Lists of moves for each slot. -
move3
Lists of moves for each slot. -
move4
Lists of moves for each slot. -
heldItem
Held item array for this Pokémon. -
nature
Nature array for this Pokémon. -
ability
Ability array for this Pokémon. -
evHP
public int evHPEVs for this Pokémon. -
evAtk
public int evAtkEVs for this Pokémon. -
evDef
public int evDefEVs for this Pokémon. -
evSpAtk
public int evSpAtkEVs for this Pokémon. -
evSpDef
public int evSpDefEVs for this Pokémon. -
evSpeed
public int evSpeedEVs for this Pokémon. -
ivHP
public int ivHPIVs for this Pokémon. -
ivAtk
public int ivAtkIVs for this Pokémon. -
ivDef
public int ivDefIVs for this Pokémon. -
ivSpAtk
public int ivSpAtkIVs for this Pokémon. -
ivSpDef
public int ivSpDefIVs for this Pokémon. -
ivSpeed
public int ivSpeedIVs for this Pokémon. -
ivsDefined
public boolean ivsDefinedWhether IVs have been explicitly chosen for the Pokémon. -
doubleOnly
public boolean doubleOnlyIf this Pokémon should only appear in double battles. -
lead
public boolean leadIf this Pokémon should be sent out first. -
minLevel
public int minLevelThe minimum Trainer pokemonLevel at which this moveset will appear. -
form
public int formThe form of the Pokémon.
-
-
Constructor Details
-
MovesetDefinition
public MovesetDefinition()
-
-
Method Details
-
readMovesetDefinition
Loads a moveset definition from JSON.- Parameters:
obj
- The JSON object to load from.- Returns:
- The loaded moveset definition.
-