Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because the return value of "net.minecraft.core.Registry.get


Recommended Posts

Quote

java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because the return value of "net.minecraft.core.Registry.getKey(Object)" is null at net.minecraft.world.entity.ai.attributes.AttributeInstance.save(AttributeInstance.java:173) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading} at net.minecraft.world.entity.ai.attributes.AttributeMap.save(AttributeMap.java:113) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading} at net.minecraft.world.entity.LivingEntity.addAdditionalSaveData(LivingEntity.java:662) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading} at net.minecraft.world.entity.Mob.addAdditionalSaveData(Mob.java:342) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.world.entity.AgeableMob.addAdditionalSaveData(AgeableMob.java:97) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading} at net.minecraft.world.entity.animal.Animal.addAdditionalSaveData(Animal.java:84) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading} at net.minecraft.world.entity.animal.Bee.addAdditionalSaveData(Bee.java:183) ~[forge-1.19-41.0.45_mapped_official_1.19-recomp.jar%23180!/:?] {re:classloading}

The error says you have a bee with an attribute. But the attribute has not been registered with minecraft/forge.

Since you only have 2 mods, just remove each of them individually and see if it fixes the problem?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.