public static class DayCareEvent.PrePokemonAdd 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 |
childCreated |
protected Pokemon |
parentOne |
protected Pokemon |
parentTwo |
Constructor and Description |
---|
PrePokemonAdd(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party,
Pokemon parentOne,
Pokemon parentTwo,
Pokemon childCreated) |
Modifier and Type | Method and Description |
---|---|
Pokemon |
getChildCreated()
Gets the child that will be created
|
Pokemon |
getParentOne()
Gets the first parent
|
Pokemon |
getParentTwo()
Gets the second parent
|
void |
setChildCreated(Pokemon childCreated)
Sets the child that will be created (will be turned into an egg if not)
|
void |
setParentOne(Pokemon parentOne)
Sets the first parent
|
void |
setParentTwo(Pokemon parentTwo)
Sets the second parent
|
getDayCare, getParty, getPlayer
protected Pokemon parentOne
protected Pokemon parentTwo
protected Pokemon childCreated
public PrePokemonAdd(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party, Pokemon parentOne, Pokemon parentTwo, Pokemon childCreated)
public Pokemon getParentOne()
public void setParentOne(Pokemon parentOne)
parentOne
- The first parentpublic Pokemon getParentTwo()
public void setParentTwo(Pokemon parentTwo)
parentTwo
- The second parentpublic Pokemon getChildCreated()
public void setChildCreated(Pokemon childCreated)
childCreated
- The child created