SpawningPosition

data class SpawningPosition(val location: Location, val entity: Identifier)(source)

Represents a single position at which a mob can spawn

Constructors

Link copied to clipboard
constructor(location: Location, entity: Identifier)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun save(): CompoundTag

Saves this position to compound

Link copied to clipboard
fun spawn(): UUID?

Spawns a new entity at this position

Properties

Link copied to clipboard

Entity that spawns at this position

Link copied to clipboard
val location: Location

Location at which the entity spawns