RestrictedArea

class RestrictedArea(val inner: PolygonalArea, val exit: Location) : Area(source)

A polygonal area that has an exit position and can teleport player out, if the PlayerEnterAreaEvent is cancelled

Constructors

Link copied to clipboard
constructor(inner: PolygonalArea, exit: Location)

Functions

Link copied to clipboard
open override fun contains(location: Location): Boolean

Checks if the provided location is in this area

Link copied to clipboard

Does a single spawn pass

Properties

Link copied to clipboard
val exit: Location
Link copied to clipboard
open override val id: Identifier
Link copied to clipboard
Link copied to clipboard

Area model for this area

Link copied to clipboard