Class MysteryBoxEvent.Tick.AboutToClose

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
MysteryBoxEvent.Tick

public static class MysteryBoxEvent.Tick.AboutToClose extends MysteryBoxEvent.Tick
  • Constructor Details

    • AboutToClose

      public AboutToClose(MysteryBoxTileEntity box, net.minecraft.world.level.block.state.BlockState blockState)
      Fired before a Mystery Box is going to close. Cancelable.
      Parameters:
      box - The Mystery Box tile entity.
      blockState - The block state of this Mystery Box.