This project is my very first take on a Minecraft Datapack, therefore not very good, nor efficient. This Datapack uses PRNG (with help from u/mingshi3_uiuc) to randomize the mob spawn. The Datapack features the following commands:
- /function pms:spawn_timer {Timer:x} - x=ticks before next mob spawn
This datapack has been tested and works in following versions:
- 1.21.4
It's very simple! Just follow these instructions:
- Download the Periodic-Mob-Spawner.zip from releases.
- Unzip the zipped folder.
- Go to ".minecraft\saves\yourworld\datapacks" and drag the datapack in there.
- Alternatively, you can create a new world in-game, go to "More", click on "Data Packs" and drag the datapack in there.
The Datapack will begin as soon as you join the world, to disable/enable the datapack run:
- /datapack disable "file/Periodic-Mob-Spawner"
- /datapack enable "file/Periodic-Mob-Spawner"
You can do the one of the following:
- Submit an issue detailing what occured, how it occured and or if you modified the datapack in any way.
- DM me on discord (username: meilaleinalainen).
- Try to fix it yourself. This datapack is poorly made so I wouldn't recommend this option.