Hey guys,
So, I'm using RegistryObject holder classes to register blocks, items, entities, containers, etc, and a Registration class that contains all the DeferredRegisters I need.asd
When Registration classloads ModTileEntites, it throws "java.lang.NullPointerException: Registry Object not present" error. I know this happens if I'm trying to use a RegistryObject before its created. As I've registered the DeferredRegister to the event bus, it means the registry events didn't fire yet, right? What's going on here? i used SilentGear as an example of how to handle registries, and it seems like everything is right, i can't find to understand what I'm doing wrong.
Would appreciate some enlightenment on this
If you also noticed a bad practice or anything like that on my code, please let me know hehe.
I don't know how to make spoilers work with code, so sorry for the big thread (I've finally uploaded the project to Github).
crash-2020-10-14_18.51.20-fml.txt