
This mod/datapack makes wild Cobblemon shinies unable to despawn if loaded in by the player! This matches Legends:ZA's shiny mechanics, and is helpful if your shinies keep despawning before you can find where the sound is coming from.
Best used alongside one of the spawn notification mods so that you don't miss any of the shinies and leave them wandering around endlessly in a cave or something. This is my first time making a datapack, but it's simple enough that it shouldn't break, I hope!
Shinies are rare enough that there shouldn't be any issues with them piling up and causing lag. But, if somehow there enough wild shinies sitting around that it begins to lag, first off, congrats on the shiny farm! and secondly, after removing the mod/datapack, you can run the following command to free them from their eternal existence:
/execute as @e[type=cobblemon:pokemon,nbt={Pokemon:{Shiny:1b},PersistenceRequired:1b}] run data modify entity @s PersistenceRequired set value 0b
- No AI was used whatsoever in the making of this mod. I mean, it's like 2 lines of code, anyways. But everything I make is and always will be AI-free!
