A really-really simple addon that helps you clean up wild pokemon in your world, excluding player owned Pokemon, wild legendaries, UBs, Paradox mons, shiny Pokemon, and wild Pokemon in battle. This addon also cleans up items after it cleans up all of the wild Pokemon to ensure no mess will be left.
How do I modify the timer?
- Go to data/winds/function and open up warn3m.mcfunction,
- Change the 150s to any number you'd like, since the datapack adds 30s as the base. If you want for example :,
change it to 10 minutes 10 minutes = it'll be 510s + 30s
- Modify the text to also follow the change :,
tellraw @a {"text": "Something is slowly approaching in 10 minutes..", "color": "red", "bold":true}
- Save the file,
What about the 30s timer?
- Open up warn30s.mcfunction,
- If for example you want to change it to 1 minute, it'll be 50s. 10s is used by the final warning in warn10s.mcfunction,
- You also want to modify the text to follow the change,
- Save the file,
How do I add more pokemon to exclude from getting cleaned up?
- Open up blownaway.mcfunction,
- Add this line :,
,nbt=!{Pokemon:{Species:"cobblemon:x"}} change the x to any pokemon you would like to exclude For example I want this certain pokemon to be excluded, modify the file like this ...,nbt=!{Pokemon:{Species:"cobblemon:ironcrown"}},nbt=!{Pokemon:{Species:"cobblemon:cyndaquil"}}] You can always add more there should be no limits
- Save the file
**How to edit the distance?**
Change this argument in blownaway.mcfunction into
(example) : "distance=50.."