Class DayCareEvent.HourGlassUsed.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
DayCareEvent.HourGlassUsed

public static class DayCareEvent.HourGlassUsed.Pre extends DayCareEvent.HourGlassUsed
  • 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

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