SmileycorpMC / The-Hordes

Minecraft mod which adds zombie infection and mob invasions
GNU Lesser General Public License v2.1
2 stars 6 forks source link

[Neoforge 1.20.1] Hordes not spawning when the mobs are set to spawn later than day 0 (Possibly not recognizing spawntable) #156

Open Xerses707 opened 1 month ago

Xerses707 commented 1 month ago

Hi again, I really appreciate your help with the last fix. I am once again having issues however, here is all the relevant info. I also did a lot of testing and logged what changes I had made and what worked and what didn't.

I was testing cause the hordes weren't appearing in the modpack I make. Once I started testing everything was fine until I got to the point of making hordes start on day 5. I started testing using a fresh installation of the mod and configs unedited. I didn't get to the point of changing the spawntable to the proper mobs for the modpack because that was what I was gonna test after I tested some random mobs as the beginning ones (ones that spawn on day 5)

default.json

mixed_mobs.json

hordes.log

Hordes common: https://pastebin.com/0vr89Vme

My list of testing 1. Deleted some default stuff and put in mixed_mobs as default table WORKS 2. Set it to go off world time not player time. WORKS 3. days inbetween horde spawns 10->1 WORKS 4. Deleted comma in default script - WORKS 5. 18000t -> 13000t for horde spawn WORKS 6. Turned off Infection WORKS 7. Zombie villagers have vanilla healing mechanics WORKS 8. Zombie horses are not aggressive WORKS 9. Piglins do not kill zombies WORKS 10. Illagers do not kill zombie mobs WORKS 11. Zoglins are not aggressive to other mobs WORKS 12. Amount of mobs to spawn per wave 25 -> 15 WORKS 13. Hordes no longer have a spawn increase multiplier WORKS 14. Time in ticks the event last for 6000 -> 4500 WORKS 15. Time in ticks between spawns 1000 -> 2000 WORKS 16. Horde spawn max 160 -> 30 WORKS 17. Got rid of all the special nbt stuff in mixed mobs WORKS 18. Made hordes start on day 5 (pillager, zoglin, witch, wither skeleton, zombie piglin) DOES NOT WORK 19. Made above creatures not have a final day. DOES NOT WORK 20. Updated Neoforge to latest version DOES NOT WORK 21. Set pillager, zoglin, witch, zombie piglin, and wither skeleton to day 0 minimum. (reversed day 5 start change - 18) WORKS 22. Set pillager, zoglin, witch, zombie piglin, and wither skeleton to day 5 maximum (testing to see if min and max are reversed for some reason) WORKS BUT HORDES SPAWN ON DAY 0 SO DEF NOT WHAT I WAS THINKING 23. Reversing back to step 20 in order to put in a proper bug report. Also Zoglins are day 4 and not 5 cause I wanted to see if maybe there was a buffer with the minimum or something. I did all of this testing using the /time add command to speed things up, idk if that would have an effect on things, however it did indeed work all the times it says WORK when testing this way.
Xerses707 commented 1 month ago

Let me know if you need the list of mods as well. I’m unable to provide them right this second, but I can do it in the morning if necessary.

Xerses707 commented 2 weeks ago

I did some more testing and I removed all the mods except for Hordes and Atlas Lib. The logs are still popping the same thing. It seems like it's finding the spawntable as "empty" even though it has been edited. Also it looks like it's loading in the mixed_mobs spawn table as normal even though it's been edited.

Xerses707 commented 3 days ago

I was able to get a patchwork fix going! So relatively the issue only arises whenever there is not a mob spawning on day 0. If a mob spawns on day 0 everything else works normally. I just put it to where squid’s will spawn on day 0, but they have poison and a harming effect on them that kills them quickly.