Apotheosis

Apotheosis

79M Downloads

There are a lot of such errors in the logs. Failed to load boss item brutalbosses:

RIZ79 opened this issue ยท 5 comments

commented

This is something that needs to be reported to brutalbosses, since they appear to be providing invalid boss jsons (or they are inadvertently using the sub-namespace I have already claimed for apotheosis bosses).

commented

I'm having my very own custom bosses json, unrelated to apotheosis, which for some reason apotheosis is loading. My bosses are in my own namespace under
data/brutalbosses/bosses so if you're scanning those then likely something is wrong on your side

commented

@someaddons Then you misunderstand how JSON data-loading works.
When you declare a JSON reload listener, you declare a sub-path, which loads for all domains. Meaning /apotheosis/bosses/, /minecraft/bosses/, /anything/bosses/ (same as recipes, advancements, etc).

Apotheosis already has been using the subkey bosses for a very long time. You'll need to chose another one.

commented

Yes the default implementation is very greedy, and just loads all lowest subfolders with exactly that name, ignoring mod namespace. Which is fine for vanilla, since those folders get shared by mods, but for custom modded folder the proper way would be to exclude reading the wrong namespaces in your reload listener. Instead of kindergarden behaviour of claiming "I was first" on generically named folders.

commented

Bosses are something I expect other mods (or packs) to add under other domains. This is literally how the system is designed and intended to be used.