Interface PatternChangeEvent

All Known Implementing Classes:
PlayerVeinMiningPatternChangeEvent

public interface PatternChangeEvent
A callable event when a player changes their pattern.
  • Method Details

    • getNewPattern

      @NotNull @NotNull VeinMiningPattern getNewPattern()
      Get the VeinMiningPattern to change to.
      Returns:
      the new pattern
    • getCause

      @NotNull @NotNull PatternChangeEvent.Cause getCause()
      Get the Cause of this event.
      Returns:
      the cause
    • isCancelled

      boolean isCancelled()
      Checks whether or not this event has been cancelled.
      Returns:
      true if cancelled, false otherwise