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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonEnter(RegionEvent.PlayerEnter onEnter) Cancelation not yet implemented
-
Method Details
-
onEnter
Cancelation not yet implemented- Parameters:
onEnter-- Returns:
- false to prevent player from leaving the region, true otherwise
-