Class DayCareEvent.PostCollect

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.PostCollect
Enclosing class:
DayCareEvent

public static class DayCareEvent.PostCollect extends DayCareEvent
Event fired just after the player collects the egg (and parents) from the DayCare This is not cancellable
  • Field Details

    • parentOne

      protected final Pokemon parentOne
    • parentTwo

      protected final Pokemon parentTwo
    • childGiven

      protected final Pokemon childGiven
    • addToHistory

      protected final boolean addToHistory
  • Constructor Details

  • Method Details

    • getParentOne

      public Pokemon getParentOne()
      Gets the first parent
      Returns:
      the first parent
    • getParentTwo

      public Pokemon getParentTwo()
      Gets the second parent
      Returns:
      The second parent
    • getChildGiven

      public Pokemon getChildGiven()
      Gets the child that will be created
      Returns:
      The child given
    • addedToHistory

      public boolean addedToHistory()
      If the child given should be added to the player's breeding history Defaults to true
      Returns:
      If true it was added to their history