Mod fails to start sue to exception: .NullPointerException: Registry Object not present: bassebombecraft:decreasesizeeffect
athrane opened this issue ยท 1 comments
Stacktrace:
[15Apr2021 20:48:30.514] [modloading-worker-2/ERROR] [bassebombecraft.BassebombeCraft/]: java.lang.ExceptionInInitializerError
at bassebombecraft.client.proxy.ClientProxy.doDeferredRegistration(ClientProxy.java:421)
at bassebombecraft.BassebombeCraft.<init>(BassebombeCraft.java:111)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81)
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1618)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: java.lang.NullPointerException: Registry Object not present: bassebombecraft:decreasesizeeffect
at java.util.Objects.requireNonNull(Objects.java:290)
at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:120)
at bassebombecraft.item.inventory.DecreaseSizeIdolInventoryItem.lambda$2(DecreaseSizeIdolInventoryItem.java:32)
at bassebombecraft.item.inventory.DecreaseSizeIdolInventoryItem.<init>(DecreaseSizeIdolInventoryItem.java:42)
at bassebombecraft.item.RegisteredItems.register(RegisteredItems.java:320)
at bassebombecraft.item.RegisteredItems.<clinit>(RegisteredItems.java:259)
RWC: a749656