Interface HourglassTrigger


public interface HourglassTrigger
A block with this capability will receive a custom callback when a Hovering Hourglass adjacent to the block turns.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onTriggeredByHourglass(net.minecraft.world.level.block.entity.BlockEntity hourglass)
     
  • Field Details

    • ID

      static final net.minecraft.resources.ResourceLocation ID
  • Method Details

    • onTriggeredByHourglass

      void onTriggeredByHourglass(net.minecraft.world.level.block.entity.BlockEntity hourglass)