Class DayCareEvent.HourGlassUsed
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed
- Direct Known Subclasses:
DayCareEvent.HourGlassUsed.Post
,DayCareEvent.HourGlassUsed.Pre
- Enclosing class:
- DayCareEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.daycare.event.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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHourGlassUsed
(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party, net.minecraft.world.item.ItemStack item, net.minecraft.data.models.blockstates.PropertyDispatch.TriFunction<net.minecraft.server.level.ServerPlayer, Integer, int[], Boolean> handler) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent
getDayCare, getParty, getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
item
protected net.minecraft.world.item.ItemStack item -
handler
-
-
Constructor Details
-
HourGlassUsed
public HourGlassUsed(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party, net.minecraft.world.item.ItemStack item, net.minecraft.data.models.blockstates.PropertyDispatch.TriFunction<net.minecraft.server.level.ServerPlayer, Integer, int[], Boolean> handler)
-
-
Method Details
-
getItem
public net.minecraft.world.item.ItemStack getItem() -
getHandler
-