Interface RegionEvents.PlayerRegionLeaveListener

Enclosing class:
RegionEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RegionEvents.PlayerRegionLeaveListener
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Cancelation not yet implemented
  • Method Details

    • onLeave

      boolean onLeave(RegionEvent.PlayerLeave onLeave)
      Cancelation not yet implemented
      Parameters:
      onLeave -
      Returns:
      false to prevent player from entering the region, true otherwise