Companion

object Companion

Functions

Link copied to clipboard
fun inDirection(location: Location, direction: Vector3d, depth: Number, width: Number, height: Number, translateY: Number): Region

Creates a region in the given direction from location with the given depth, width, height and translateY.

Link copied to clipboard
fun inFrontOf(tileEntity: TileEntity, depth: Number, width: Number, height: Number, translateY: Number): Region

Creates a region in front of tileEntity with the given depth, width, height and translateY.

fun inFrontOf(pos: BlockPos, facing: BlockFace, depth: Number, width: Number, height: Number, translateY: Number): Region

Creates a region in front of pos with the given depth, width, height and translateY.

Link copied to clipboard
fun surrounding(location: Location, radius: Number): Region

Creates a Region surrounding location using the given cubic radius.

fun surrounding(pos: BlockPos, radius: Int): Region

Creates a Region surrounding pos using the given cubic radius.