Forum rules: Do not post bugs or feature requests here! Report bugs to our Issue Tracker and suggestions to Suggest a Feature.

This site is not for solicitation of services or 'purchasing' development. Please do not post requesting side mods/plugins and so on. Your thread will be removed, and you will receive a warning.
By RufusJunior
#243991 I've been able to prevent Ultra Beasts from spawning in Ultra Space with the standard spawning data files, but they still spawn as a secondary Pokémon in horde battles. Is there a way to edit which Pokémon spawn in hordes specifically? Or would I have to turn off hordes all together?

User avatar
By SKyTheThunder
#244002 How exactly did you disable their natural spawns?

afaik Horde Battles pull from the Pokémon available under the current conditions. Just a guess on my part, but I could imagine that for this purpose the "rarity" value is ignored - so if you just set their rarities to 0 to disable spawns, that might still be recognized as a viable spawn for Horde Battles.
You can instead override theirrespective spawn sets with an empty file in your Data Pack, which will make it so the game can't find any spawn details for them at all.
By RufusJunior
#244014 I changed their original spawn rates by editing the files in the data-pixelmon-spawning-standard .json files for each of the Ultra Beasts. When I use /checkspawns their respective spawn rates are now 0.0%, but they'll still show up in hordes.
If I have to, I will delete their spawn .jsons entirely. Will deleting the spawn files prevent them from being in the game? As in they couldn't even be added with the PokeEditor?
User avatar
By SKyTheThunder
#244015 You cannot "delete" files via Data Pack. The closest thing you can do is to override them with empty files, as I suggested.

If you mean you changed the files in the actual mod JAR itself, please don't. Modifying the mod itself can cause issues that are next to impossible to provide support for. These customizations are explicitly what the Data Pack system exists for: https://pixelmonmod.com/wiki/Datapack_Creation

As for making them impossible to obtain even with cheats, for that you'd have to override their species files under "data/pixelmon/species/" with blank ones. You may also have to modify or remove any and all data files that reference those species to avoid issues from the game looking for species that don't exist though. I'd recommend against that, because there may be hardcoded cases which you can't override.
You could however add the "undexable" tag to their species files (as used in unfinished species like Iron Treads currently). With that they won't be needed for Pokédex completion anymore.
By RufusJunior
#244022 Well, I'm not sure why they still spawned in hordes even when their spawn rates were at 0, but swapping their spawning files to blank ones seemed to do the trick. Something in those files obviously contributed to the horde spawns to some degree, even if it isn't directly the spawn rate. Regardless, the issue seems to have been solved. Thank you for the help.
JOIN THE TEAM