Bosses are (still) not spawning randomly.
seefourr opened this issue ยท 15 comments
Windows
minecraft 1.20.1
zenith 1.1.6 (downloaded from modrinth)
no other mods except zenith and relevant dependencies (fakerlib, zenith attributes, fabric api). Latest versions of each for 1.20.1
Created a hard world, set time to night. Waited for a while, no bosses spawn on their own.
I saw this was a previously open issue that was closed, but there aren't any new commits since the issue being closed (and apparently the 1.1.6 version from Modrinth doesn't fix it either). The github changelog additionally does not list any 1.1.6 changes.
(also I don't know what an "arch" issue is lol)
another small issue i ran into is when spawning bosses manually using either the boss summoning item or commands, sometimes a seemingly normal spider would be spawned instead.
That and the bosses try to attack me when I'm in creative mode for whatever reason.
@seefourr I also downgraded to Architectury 9.1.13 and my game is also crashing. Did you find any other workarounds besides deleting the miniboss json files? How is this workaround doing with your server now after 2 weeks? Have you experienced significantly less crashes?
Arch issue was an architectury api issue, which i thought was why this was happening... strange
Still happening in 1.1.7 but I did notice from your code that you have a temporary fix. The issue still persists; bosses don't spawn on their own even when using just zenith + dependencies
but bosses do spawn when using zenith + dependencies + architectury 9.1.13. Which is an OK workaround for now
Yeah, but it looks like it might make you game crash everytime a boss tries to spawn.
Caused by: java.lang.IllegalArgumentException: Modifier is already applied on this attribute!
Full crash lg : https://mclo.gs/4NR8cH2
I was having that issue too, though not every boss spawn, it seemed to be somewhat random. I found that deleting all the "miniboss" json files from the jar seemed to stop the issue mostly. At the very least I remember my server crashed less or not because of this bug.
I figure it could be the alternate workaround method of spawning bosses might be interfering with how the mod spawns its own minibosses like the honeyed archer etc, perhaps trying to layer them on each other and hence the attempting to reapply modifiers causing the crash.
Or it could just be another mod conflict I wasn't aware of. It was hard to test either way from my testing as the crashes were rather inconsistent even when i seriously upped the boss spawn rate.
@TheWinABagel My bad. I hope everything is going well for you. I'll test the fix you attached.
Still hoping for a fix to this issue as well. I've set up the adventure module to have gems and affix items only drop from bosses to give them some rarity in my server but bosses don't spawn. Minibosses do.
@Hapunn I think TheWinABagel abandoned the project or something idk
Not abandoned, just on a hiatus. Had a lot of IRL stuff happen, and had little motivation to work on Zenith instead of other, more (personally) interesting projects.
That being said, does this version fix this issue? If it does, lmk and I'll upload it officially
@TheWinABagel The fix you attached seems to be working for me. I'll come back and post again if I run into any issues but for now bosses are spawning and haven't had any crashes. For anyone wondering I'm running AOF 7 and all I done was disable the Non-Patched Zenith and Enable the fix.
@TheWinABagel was out of town for a few days but I can now also confirm the fix works. Thank you!
I tried testing the fix really fast before I left, so I guess I just didn't wait long enough lol. I deleted my previous comment to avoid confusion for others.
It works on single player but doesnt work on a server
Or not, did fresh install and all works so far.