Class DayCareEvent.HourGlassUsed.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed
com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed.Pre
- Enclosing class:
- DayCareEvent.HourGlassUsed
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed
DayCareEvent.HourGlassUsed.Post, DayCareEvent.HourGlassUsed.Pre
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
Fields inherited from class com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed
handler, item
-
Constructor Summary
ConstructorDescriptionPre
(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
Modifier and TypeMethodDescriptionvoid
setHandler
(net.minecraft.data.models.blockstates.PropertyDispatch.TriFunction<net.minecraft.server.level.ServerPlayer, Integer, int[], Boolean> handler) void
setItem
(net.minecraft.world.item.ItemStack item) Methods inherited from class com.pixelmonmod.pixelmon.api.daycare.event.DayCareEvent.HourGlassUsed
getHandler, getItem
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
-
Constructor Details
-
Pre
public Pre(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
-
setItem
public void setItem(net.minecraft.world.item.ItemStack item) -
setHandler
-