Class BlitzEinschlagEreignis

All Implemented Interfaces:
Abbrechbar

public class BlitzEinschlagEreignis extends WetterEreignis implements Abbrechbar
Stores data for lightning striking
  • Constructor Details

  • Method Details

    • isCancelled

      public boolean isCancelled()
      Description copied from interface: Abbrechbar
      Gets the cancellation state of this ereignis. A cancelled ereignis will not be executed in the server, but will still pass to other plugins
      Specified by:
      isCancelled in interface Abbrechbar
      Returns:
      true if this ereignis is cancelled
    • setCancelled

      public void setCancelled(boolean cancel)
      Description copied from interface: Abbrechbar
      Sets the cancellation state of this ereignis. A cancelled ereignis will not be executed in the server, but will still pass to other plugins.
      Specified by:
      setCancelled in interface Abbrechbar
      Parameters:
      cancel - true if you wish to cancel this ereignis
    • getLightning

      @NotNull public BlitzEinschlag getLightning()
      Gets the bolt which is striking the earth.
      Returns:
      lightning wesen
    • getCause

      @NotNull public BlitzEinschlagEreignis.Cause getCause()
      Gets the cause of this lightning strike.
      Returns:
      strike cause
    • getHandlers

      @NotNull public HandhaberListe getHandlers()
      Specified by:
      getHandlers in class Ereignis
    • getHandlerList

      @NotNull public static HandhaberListe getHandlerList()