public static class DayCareEvent.PostCollect extends DayCareEvent
DayCareEvent.HourGlassUsed, DayCareEvent.PostCollect, DayCareEvent.PostConditionStatusUpdate, DayCareEvent.PostDurationCalculate, DayCareEvent.PostEggCalculate, DayCareEvent.PostPokemonAdd, DayCareEvent.PostTimerBegin, DayCareEvent.PreCollect, DayCareEvent.PreConditionStatusUpdate, DayCareEvent.PreDurationCalculate, DayCareEvent.PreEggCalculate, DayCareEvent.PrePokemonAdd, DayCareEvent.PreTimerBegin, DayCareEvent.TimerComplete
Modifier and Type | Field and Description |
---|---|
protected boolean |
addToHistory |
protected Pokemon |
childGiven |
protected Pokemon |
parentOne |
protected Pokemon |
parentTwo |
Constructor and Description |
---|
PostCollect(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party,
Pokemon parentOne,
Pokemon parentTwo,
Pokemon childGiven,
boolean addToHistory) |
Modifier and Type | Method and Description |
---|---|
boolean |
addedToHistory()
If the child given should be added to the player's breeding history
Defaults to true
|
Pokemon |
getChildGiven()
Gets the child that will be created
|
Pokemon |
getParentOne()
Gets the first parent
|
Pokemon |
getParentTwo()
Gets the second parent
|
getDayCare, getParty, getPlayer
protected final Pokemon parentOne
protected final Pokemon parentTwo
protected final Pokemon childGiven
protected final boolean addToHistory
public PostCollect(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party, Pokemon parentOne, Pokemon parentTwo, Pokemon childGiven, boolean addToHistory)
public Pokemon getParentOne()
public Pokemon getParentTwo()
public Pokemon getChildGiven()
public boolean addedToHistory()