Interface RegionEvents.PlayerRegionEnterListener

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.PlayerRegionEnterListener
  • Method Summary

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

    • onEnter

      boolean onEnter(RegionEvent.PlayerEnter onEnter)
      Cancelation not yet implemented
      Parameters:
      onEnter -
      Returns:
      false to prevent player from leaving the region, true otherwise