Class EggMovesetEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.EggMovesetEvent
public class EggMovesetEvent
extends net.neoforged.bus.api.Event
An event that occurs after the moves for an egg have been chosen,
but before they are actually assigned to the Pokémon's moveset.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<ImmutableAttack> protected Pokemon
protected List
<ImmutableAttack> protected List
<ImmutableAttack> protected List
<ImmutableAttack> protected List
<ImmutableAttack> protected List
<ImmutableAttack> protected Pokemon
protected net.minecraft.world.entity.player.Player
-
Constructor Summary
ConstructorsConstructorDescriptionEggMovesetEvent
(net.minecraft.world.entity.player.Player player, Pokemon motherPokemon, Pokemon fatherPokemon, List<ImmutableAttack> motherEggMoves, List<ImmutableAttack> fatherEggMoves, List<ImmutableAttack> fathersTMHMTutorMoves, List<ImmutableAttack> levelupMoves, List<ImmutableAttack> lvl1Moves, List<ImmutableAttack> masterAttackList) -
Method Summary
Modifier and TypeMethodDescriptionThe egg moves that the egg will know upon hatching.The moves that the egg can receive from its egg move list via the father Pokémon.The male Pokémon in the DayCare.The moves learned via TM, Tutors, and Transfer Tutors that the egg can receive from the father Pokémon.The four moves that the egg will know upon hatching.The moves that the Pokémon the egg hatches into can learn upon leveling up.THe moves that the Pokémon the egg hatches into learns at level 1.The moves that the egg can know upon hatching.The moves that the egg can receive from its egg move list via the mother Pokémon.The female Pokémon in the DayCare.net.minecraft.world.entity.player.Player
The owner of the Pokémon in the DayCare.
-
Field Details
-
player
protected net.minecraft.world.entity.player.Player player -
motherPokemon
-
fatherPokemon
-
motherEggMoves
-
fatherEggMoves
-
fathersTMHMTutorMoves
-
levelupMoves
-
lvl1Moves
-
masterAttackList
-
-
Constructor Details
-
EggMovesetEvent
public EggMovesetEvent(net.minecraft.world.entity.player.Player player, Pokemon motherPokemon, Pokemon fatherPokemon, List<ImmutableAttack> motherEggMoves, List<ImmutableAttack> fatherEggMoves, List<ImmutableAttack> fathersTMHMTutorMoves, List<ImmutableAttack> levelupMoves, List<ImmutableAttack> lvl1Moves, List<ImmutableAttack> masterAttackList)
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer()The owner of the Pokémon in the DayCare. -
getMotherPokemon
The female Pokémon in the DayCare. -
getFatherPokemon
The male Pokémon in the DayCare. -
getMotherEggMoves
The moves that the egg can receive from its egg move list via the mother Pokémon. -
getFatherEggMoves
The moves that the egg can receive from its egg move list via the father Pokémon. -
getFathersTMHMTutorMoves
The moves learned via TM, Tutors, and Transfer Tutors that the egg can receive from the father Pokémon. -
getLevelupMoves
The moves that the Pokémon the egg hatches into can learn upon leveling up. -
getLvl1Moves
THe moves that the Pokémon the egg hatches into learns at level 1. -
getMasterAttackList
The moves that the egg can know upon hatching. -
getFirstFourMoves
The four moves that the egg will know upon hatching. -
getEggMoves
The egg moves that the egg will know upon hatching.
-