get Ticks Per Monster Spawns
Gets 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 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.
Return
The world's ticks per monster spawns value