Cardinal Components API

Cardinal Components API

21M Downloads

Creative inventory

frederic-orlando opened this issue ยท 5 comments

commented

Any vanilla items and blocks are missing from creative inventory

I have tried :

  1. clean install (no mods) + cardinal, working fine
  2. modded + cardinal, missing items and blocks
  3. modded without cardinal, working fine

Here is my mod list (from console)
https://pastebin.com/1iBhgzfC

In-game screenshot
image

commented

I've looked into this issue, and wasn't able to reproduce it yet.
It seems to be some mod-specific issue.

commented

Can't seem to reproduce, is there any chance you can find exactly with which mod(s) it starts breaking ?

commented

This happens when you load Item early which loads ItemGroup. When ItemGroup loads, it loads Item, CC makes Item load Items. Items tries to initialize all the builtin items, but it can't load any Item groups because those are being loaded as a parent. I am skipping a few steps here because I last debugged this a while ago, but the fix is just to make sure you don't load Item until it is ready. How I fixed it: https://gitea.thebrokenrail.com/TheBrokenRail/EnergonRelics/commit/fbb1020ce8bcb35e277d593cadf9452319a1ce7f

commented

If cardinal-components-item's eager loading is the issue, I have good news: it should be fixed in the latest version. Could you confirm maybe ?

commented

Assuming this issue is resolved, please reopen it if it still occurs.