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 Details

  • Constructor Details

  • Method Details

    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
      The owner of the Pokémon in the DayCare.
    • getMotherPokemon

      public Pokemon getMotherPokemon()
      The female Pokémon in the DayCare.
    • getFatherPokemon

      public Pokemon getFatherPokemon()
      The male Pokémon in the DayCare.
    • getMotherEggMoves

      public List<ImmutableAttack> getMotherEggMoves()
      The moves that the egg can receive from its egg move list via the mother Pokémon.
    • getFatherEggMoves

      public List<ImmutableAttack> getFatherEggMoves()
      The moves that the egg can receive from its egg move list via the father Pokémon.
    • getFathersTMHMTutorMoves

      public List<ImmutableAttack> getFathersTMHMTutorMoves()
      The moves learned via TM, Tutors, and Transfer Tutors that the egg can receive from the father Pokémon.
    • getLevelupMoves

      public List<ImmutableAttack> getLevelupMoves()
      The moves that the Pokémon the egg hatches into can learn upon leveling up.
    • getLvl1Moves

      public List<ImmutableAttack> getLvl1Moves()
      THe moves that the Pokémon the egg hatches into learns at level 1.
    • getMasterAttackList

      public List<ImmutableAttack> getMasterAttackList()
      The moves that the egg can know upon hatching.
    • getFirstFourMoves

      public List<ImmutableAttack> getFirstFourMoves()
      The four moves that the egg will know upon hatching.
    • getEggMoves

      public List<ImmutableAttack> getEggMoves()
      The egg moves that the egg will know upon hatching.