Class MysteryBoxEvent.Tick.Start

java.lang.Object
net.neoforged.bus.api.Event
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
MysteryBoxEvent.Tick

public static class MysteryBoxEvent.Tick.Start extends MysteryBoxEvent.Tick implements net.neoforged.bus.api.ICancellableEvent
  • Constructor Details

    • Start

      public Start(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState)
      Fired at the start of a Mystery Box's tick. Cancelable.
      Parameters:
      box - The Mystery Box tile entity.
      blockState - The block state of this Mystery Box.