#Modded status effects turning into other modded effects when restarting game

7 messages · Page 1 of 1 (latest)

sweet canyon
#

I'm pretty sure this is some sort of registration order issue, since NBT Studio is showing the internal ID number for my effects changing.
I don't think I'm doing anything unusual with my registration, here is the class: https://github.com/beholderface/oneironaut/blob/1.20.1/common/src/main/java/net/beholderface/oneironaut/registry/OneironautMiscRegistry.java
I saw someone here mention that referring to modded things in mixin classes could mess with registration order, but I just tried moving all the logic that did that into separate classes, and it's still happening.

GitHub

An addon for Hex Casting centered around exploration and use of the noosphere. - beholderface/oneironaut

sweet canyon
#

I tried turning off all the mixins and it's still happening, so it's presumably not something with that

sweet canyon
#

switching from architectury's DeferredRegister to directly calling Registry.register also did not help

toxic stratus
#

Registration order shouldn't matter, I know that much.

#

Unless some library (or you) changes that.

#

If it helps any, Fabric mods are intended to work independent of load order. Also, while developing, mod load order is randomized each launch in order to avoid depending on it (with or without realizing). During production, it's arbitrary but consistent.

sweet canyon
#

finally got around to testing it outside of dev and it doesn't seem to happen