LocationArea

class LocationArea(loc1: Location, loc2: Location)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
isInArea
Link copied to clipboard
fun isInArea(loc: Location, check3d: Boolean = true, tolerance: Int = 0): Boolean
toString
Link copied to clipboard
open fun toString(): String

Properties

loc1
Link copied to clipboard
var loc1: Location
loc2
Link copied to clipboard
var loc2: Location
maxLoc
Link copied to clipboard
val maxLoc: Location
minLoc
Link copied to clipboard
val minLoc: Location
simpleLocationPair
Link copied to clipboard
var simpleLocationPair: SimpleLocationPair
touchedChunks
Link copied to clipboard
val touchedChunks: Set<Chunk>
world
Link copied to clipboard
val world: World

Extensions

entities
Link copied to clipboard
val LocationArea.entities: Set<Entity>
fillBlocks
Link copied to clipboard
val LocationArea.fillBlocks: Set<Block>
loadStructure
Link copied to clipboard
fun LocationArea.loadStructure(includeBlocks: Boolean = true, includeEntities: Boolean = false): Structure