ClaimPistonBoundaryListener

Optionally stops piston movement only when its destination crosses into a protected claim. Piston movement inside a claim is intentionally unaffected.

Constructors

Link copied to clipboard
constructor(zoneType: String)

Functions

Link copied to clipboard
open override fun namespace(): String
Link copied to clipboard
fun onExtend(event: BlockPistonExtendEvent)
Link copied to clipboard
fun onRetract(event: BlockPistonRetractEvent)
Link copied to clipboard
fun protectChunk(event: Cancellable, chunk: Chunk?)
Link copied to clipboard
fun shouldProtect(chunk: Chunk?): Boolean