MobSpawner

A mob spawner.

Properties

Link copied to clipboard
abstract val block: Block

The block that this entity is bound to.

Link copied to clipboard
abstract var maximumSpawnDelay: Int

The maximum amount of time, in ticks, between entities being spawned by the spawner.

Link copied to clipboard
abstract var minimumSpawnDelay: Int

The minimum amount of time, in ticks, between entities being spawned by the spawner.

Link copied to clipboard
abstract val position: Vec3i

The position of this block entity.

Link copied to clipboard

The minimum range a player must be in proximity of the spawner for the spawner to attempt to spawn entities.

Link copied to clipboard
abstract var spawnCount: Int

The amount of entities that have been successfully spawned from this spawner.

Link copied to clipboard
abstract var spawnDelay: Int

The amount of time, in ticks, until the next entity is spawned.

Link copied to clipboard
abstract var spawnRange: Double

The maximum range that an entity can be spawned from the spawner.

Link copied to clipboard
abstract val type: BlockEntityType<*>

The type of this block entity.

Link copied to clipboard
abstract val world: World

The world this block entity is in.