Architectury API (Fabric/Forge/NeoForge)

Architectury API (Fabric/Forge/NeoForge)

158M Downloads

BlockEntityRendererRegistry is not working for Forge [1.19.2]

ixDarkLorD opened this issue ยท 0 comments

commented

I can't register my block entity renderer via BlockEntityRendererRegistry

Exception message: java.lang.NullPointerException: Registry Object not present: darklight:test_block Stacktrace: at dev.architectury.registry.registries.DeferredRegister$Entry.get(DeferredRegister.java:133) ~[architectury-forge-6.5.69.jar%23186!/:?] {re:classloading} at net.ixdarklord.darklight.init.ModBlockEntities.<clinit>(ModBlockEntities.java:21) ~[15774076947190748623.jar%23187!/:0.1.0] {re:classloading} at net.ixdarklord.darklight.core.CommonSetup.init(CommonSetup.java:11) ~[15774076947190748623.jar%23187!/:0.1.0] {re:classloading} at net.ixdarklord.darklight.core.forge.ForgeSetup.<init>(ForgeSetup.java:20) ~[%23184!/:?] {re:classloading} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {}