Class Moves
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.moves.Moves
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Moves.Builder
builder()
Gets a new instance of theMoves
builderstatic boolean
canLearn
(Stats stats, ImmutableAttack attack, BaseStatsLearnType... types) boolean
canLearn
(ImmutableAttack immutableAttack) boolean
canLearn
(ITechnicalMove move) boolean
canLearnTMTRHM
(ImmutableAttack attackName) boolean
Gets theSet
of all moves the Pokémon can learn by levelling upGets all moves that the Pokémon can learn.Gets theSet
of moves learnt when an eggList<org.apache.commons.lang3.tuple.Pair<Integer,
ImmutableAttack>> getGenerationMoves
(int generation) Gets all the moves in the move set for that generationstatic List<net.minecraft.network.chat.MutableComponent>
getGenerationsTMTRTheImmutableAttackIsIn
(ImmutableAttack immutableAttack, Moves moves) Gets theSet
ofImmutableAttack
potential HM movesgetLevelMoveIsLearnedAt
(ImmutableAttack immutableAttack) getMovesAtLevel
(int level) Gets specific moves at a given pokemonLevelgetMovesUpToLevel
(int level) Level up moves.Gets theMap
of moves the Pokémon can learn at each pokemonLevelGets theSet
of all TM moves learnable for this formGets theSet
ofGen1TechnicalMachines
moves this form can learnGets theSet
ofGen2TechnicalMachines
moves this form can learnGets theSet
ofGen3TechnicalMachines
moves this form can learnGets theSet
ofGen4TechnicalMachines
moves this form can learnGets theSet
ofGen5TechnicalMachines
moves this form can learnGets theSet
ofGen6TechnicalMachines
moves this form can learnGets theSet
ofGen7TechnicalMachines
moves this form can learnGets theSet
ofGen8TechnicalMachines
moves this form can learnGets theSet
ofGen9TechnicalMachines
moves this form can learngetTMMovesFor
(int gen) Gets aSet
of all moves learnt by transferGets theSet
ofGen8TechnicalRecords
moves this form can learnGets theSet
of all moves learnt by tutorvoid
boolean
isMoveInSet
(Set<? extends ITechnicalMove> tms, String attack) loadMoveset
(int level) Creates a randomly generated move set for the given pokemonLevelloadMoveset
(int level, Ability ability) Creates a randomly generated move set for the given pokemonLevel
-
Method Details
-
initLevelUpMoves
public void initLevelUpMoves() -
getPokemonLevelUpMoves
Gets theMap
of moves the Pokémon can learn at each pokemonLevel- Returns:
- The moves learnt at each pokemonLevel
-
getAllLevelUpMoves
Gets theSet
of all moves the Pokémon can learn by levelling up- Returns:
- The moves learnt from levelling up
-
getTMMoves
Gets theSet
of all TM moves learnable for this form- Returns:
- The tm moves
-
getTutorMoves
Gets theSet
of all moves learnt by tutor- Returns:
- The tutor moves
-
getEggMoves
Gets theSet
of moves learnt when an egg- Returns:
- Set of all egg moves
-
getTransferMoves
Gets aSet
of all moves learnt by transfer- Returns:
- transfer moves
-
getHMMoves
Gets theSet
ofImmutableAttack
potential HM moves- Returns:
- Set of all hm moves
-
getTMMoves9
Gets theSet
ofGen9TechnicalMachines
moves this form can learn- Returns:
- Set of gen 9 TMs
-
getTRMoves
Gets theSet
ofGen8TechnicalRecords
moves this form can learn- Returns:
- Set of gen 8 TRs
-
getTMMoves8
Gets theSet
ofGen8TechnicalMachines
moves this form can learn- Returns:
- Set of gen 8 TMs
-
getTMMoves7
Gets theSet
ofGen7TechnicalMachines
moves this form can learn- Returns:
- Set of gen 7 TMs
-
getTMMoves6
Gets theSet
ofGen6TechnicalMachines
moves this form can learn- Returns:
- Set of gen 6 TMs
-
getTMMoves5
Gets theSet
ofGen5TechnicalMachines
moves this form can learn- Returns:
- Set of gen 5 TMs
-
getTMMoves4
Gets theSet
ofGen4TechnicalMachines
moves this form can learn- Returns:
- Set of gen 4 TMs
-
getTMMoves3
Gets theSet
ofGen3TechnicalMachines
moves this form can learn- Returns:
- Set of gen 3 TMs
-
getTMMoves2
Gets theSet
ofGen2TechnicalMachines
moves this form can learn- Returns:
- Set of gen 2 TMs
-
getTMMoves1
Gets theSet
ofGen1TechnicalMachines
moves this form can learn- Returns:
- Set of gen 1 TMs
-
getGenerationMoves
Gets all the moves in the move set for that generation- Parameters:
generation
- The generation- Returns:
- The set of moves
-
getMovesUpToLevel
Level up moves. Inclusive.- Parameters:
level
- The inclusive pokemonLevel
-
getMovesAtLevel
Gets specific moves at a given pokemonLevel- Parameters:
level
- The pokemonLevel- Returns:
- The list of attacks for the pokemonLevel
-
loadMoveset
Creates a randomly generated move set for the given pokemonLevel- Parameters:
level
- The pokemonLevel generated at- Returns:
- The new move set
-
loadMoveset
Creates a randomly generated move set for the given pokemonLevel- Parameters:
level
- The pokemonLevel generated atability
- The ability to use. Can be null to not set.- Returns:
- The new move set
-
builder
Gets a new instance of theMoves
builder- Returns:
- new builder instance
-
getFormatLevelMoves
-
getAllMoves
Gets all moves that the Pokémon can learn.- Returns:
- A list of moves.
-
canLearn
-
canLearn
-
getTMMovesFor
-
canLearn
-
canLearnViaOtherSet
-
getAllTMTRHMMoves
-
canLearnTMTRHM
-
isMoveInSet
-
getLevelMoveIsLearnedAt
-
getGenerationsTMTRTheImmutableAttackIsIn
public static List<net.minecraft.network.chat.MutableComponent> getGenerationsTMTRTheImmutableAttackIsIn(ImmutableAttack immutableAttack, Moves moves)
-