public static class DayCareEvent.PostEggCalculate 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 Pokemon |
calculatedChild |
protected boolean |
childExists |
protected Pokemon |
parentOne |
protected Pokemon |
parentTwo |
protected boolean |
showChild |
Constructor and Description |
---|
PostEggCalculate(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party,
Pokemon parentOne,
Pokemon parentTwo,
Pokemon calculatedChild,
boolean childExists,
boolean showChild) |
Modifier and Type | Method and Description |
---|---|
Pokemon |
getCalculatedChild()
Gets the child calculated by the
BreedingLogicProxy |
Pokemon |
getParentOne()
Gets the "parent one" used in the calculation
|
Pokemon |
getParentTwo()
Gets the "parent two" used in the calculation
|
boolean |
isChildExists()
If a child can be created from these parents
|
boolean |
isShowChild()
Sets if the child can be seen
|
getDayCare, getParty, getPlayer
protected final Pokemon parentOne
protected final Pokemon parentTwo
protected final Pokemon calculatedChild
protected final boolean childExists
protected final boolean showChild
public PostEggCalculate(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party, Pokemon parentOne, Pokemon parentTwo, Pokemon calculatedChild, boolean childExists, boolean showChild)
public Pokemon getParentOne()
public Pokemon getParentTwo()
public Pokemon getCalculatedChild()
BreedingLogicProxy
public boolean isChildExists()
public boolean isShowChild()