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

public abstract static class DayCareEvent.HourGlassUsed extends DayCareEvent
  • Field Details

    • item

      protected net.minecraft.world.item.ItemStack item
    • handler

      protected net.minecraft.data.models.blockstates.PropertyDispatch.TriFunction<net.minecraft.server.level.ServerPlayer,Integer,int[],Boolean> 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

      public net.minecraft.data.models.blockstates.PropertyDispatch.TriFunction<net.minecraft.server.level.ServerPlayer,Integer,int[],Boolean> getHandler()