doMobSpawning
Controls whether mobs spawn naturally in the world.
Example:
world.edit {
doMobSpawning = false // Disable mob spawning
}Content copied to clipboard
Controls whether mobs spawn naturally in the world.
Example:
world.edit {
doMobSpawning = false // Disable mob spawning
}