Package-level declarations

Types

Link copied to clipboard
data class BlockInChunkSnapshot(val x: Int, val y: Int, val z: Int, val chunk: ChunkSnapshot, val minY: Int, val maxY: Int)
Link copied to clipboard
data class DropResult(val addedToInv: Int = 0, val droppedToWorld: Int = 0, val dropLocation: Location? = null, val droppedItems: Set<Item> = emptySet())

Represents the result of a drop operation.

Link copied to clipboard
Link copied to clipboard
data class SimpleChunkLocation(val world: String, val x: Int, val z: Int)
Link copied to clipboard
data class SimpleLocation(val world: String, val x: Double, val y: Double, val z: Double, val yaw: Float, val pitch: Float) : MessageTagProvider

Represents a Location that references a org.bukkit.World by name.

Link copied to clipboard
data class TripleContextCoordinates(val x: Double, val xRelative: TripleContextCoordinates.Relativity, val y: Double, val yRelative: TripleContextCoordinates.Relativity, val z: Double, val zRelative: TripleContextCoordinates.Relativity, val yaw: Float = 0.0f, val yawRelative: TripleContextCoordinates.Relativity = Relativity.RELATIVE_TO_FIRST, val pitch: Float = 0.0f, val pitchRelative: TripleContextCoordinates.Relativity = Relativity.RELATIVE_TO_FIRST)
Link copied to clipboard
data class XYZCoords(val x: Double, val y: Double, val z: Double) : MessageTagProvider

Functions

Link copied to clipboard
Link copied to clipboard

Turns a Location into a SimpleLocation.

Link copied to clipboard
fun Location.toXYZCoords(): XYZCoords