Class Moves
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.species.moves.Moves
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Moves.Builderbuilder()Gets a new instance of theMovesbuilderstatic booleancanLearn(Stats stats, ImmutableAttack attack, BaseStatsLearnType... types) booleancanLearn(ImmutableAttack immutableAttack) booleancanLearn(ITechnicalMove move) booleancanLearnTMTRHM(ImmutableAttack attackName) booleanGets theSetof all moves the Pokémon can learn by levelling upGets all moves that the Pokémon can learn.Gets theSetof 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 theSetofImmutableAttackpotential HM movesgetLevelMoveIsLearnedAt(ImmutableAttack immutableAttack) getMovesAtLevel(int level) Gets specific moves at a given pokemonLevelgetMovesUpToLevel(int level) Level up moves.Gets theMapof moves the Pokémon can learn at each pokemonLevelGets theSetof all TM moves learnable for this formGets theSetofGen1TechnicalMachinesmoves this form can learnGets theSetofGen2TechnicalMachinesmoves this form can learnGets theSetofGen3TechnicalMachinesmoves this form can learnGets theSetofGen4TechnicalMachinesmoves this form can learnGets theSetofGen5TechnicalMachinesmoves this form can learnGets theSetofGen6TechnicalMachinesmoves this form can learnGets theSetofGen7TechnicalMachinesmoves this form can learnGets theSetofGen8TechnicalMachinesmoves this form can learnGets theSetofGen9TechnicalMachinesmoves this form can learngetTMMovesFor(int gen) Gets aSetof all moves learnt by transferGets theSetofGen8TechnicalRecordsmoves this form can learnGets theSetof all moves learnt by tutorvoidbooleanisMoveInSet(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 theMapof moves the Pokémon can learn at each pokemonLevel- Returns:
- The moves learnt at each pokemonLevel
-
getAllLevelUpMoves
Gets theSetof all moves the Pokémon can learn by levelling up- Returns:
- The moves learnt from levelling up
-
getTMMoves
Gets theSetof all TM moves learnable for this form- Returns:
- The tm moves
-
getTutorMoves
Gets theSetof all moves learnt by tutor- Returns:
- The tutor moves
-
getEggMoves
Gets theSetof moves learnt when an egg- Returns:
- Set of all egg moves
-
getTransferMoves
Gets aSetof all moves learnt by transfer- Returns:
- transfer moves
-
getHMMoves
Gets theSetofImmutableAttackpotential HM moves- Returns:
- Set of all hm moves
-
getTMMoves9
Gets theSetofGen9TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 9 TMs
-
getTRMoves
Gets theSetofGen8TechnicalRecordsmoves this form can learn- Returns:
- Set of gen 8 TRs
-
getTMMoves8
Gets theSetofGen8TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 8 TMs
-
getTMMoves7
Gets theSetofGen7TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 7 TMs
-
getTMMoves6
Gets theSetofGen6TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 6 TMs
-
getTMMoves5
Gets theSetofGen5TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 5 TMs
-
getTMMoves4
Gets theSetofGen4TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 4 TMs
-
getTMMoves3
Gets theSetofGen3TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 3 TMs
-
getTMMoves2
Gets theSetofGen2TechnicalMachinesmoves this form can learn- Returns:
- Set of gen 2 TMs
-
getTMMoves1
Gets theSetofGen1TechnicalMachinesmoves 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 theMovesbuilder- 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)
-