Class ThunderChangeEvent

All Implemented Interfaces:
Cancellable

public final class ThunderChangeEvent extends WeatherEvent implements Cancellable
author: funcraft Nukkit Project
  • Constructor Details

    • ThunderChangeEvent

      public ThunderChangeEvent(Level level, boolean to)
  • Method Details

    • toThunderState

      public boolean toThunderState()
      Gets the state of thunder that the world is being set to
      Returns:
      true if the thunder is being set to start, false otherwise