public static class DayCareEvent.PostTimerBegin 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 DayCareBox |
box |
protected long |
duration |
Constructor and Description |
---|
PostTimerBegin(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party,
DayCareBox box,
long duration) |
Modifier and Type | Method and Description |
---|---|
DayCareBox |
getBox()
Gets the box about to begin
|
long |
getDuration()
The duration in milliseconds the timer will last
|
getDayCare, getParty, getPlayer
protected final DayCareBox box
protected final long duration
public PostTimerBegin(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party, DayCareBox box, long duration)
public DayCareBox getBox()
public long getDuration()