set Ticks Per Monster Spawns
Sets the world's ticks per monster spawns value
This value determines how many ticks there are between attempts to spawn monsters.
Example Usage:
- A value of 1 will mean the server will attempt to spawn monsters in this world on every tick.
- A value of 400 will mean the server will attempt to spawn monsters in this world every 400th tick.
- A value below 0 will be reset back to Minecraft's default.
Note: If set to 0, monsters spawning will be disabled for this world. We recommend using setSpawnFlags to control this instead.
Minecraft default: 1.
Parameters
ticks Per Monster Spawns
the ticks per monster spawns value you want to set the world to