Cannot resolve symbol 'Registries' Error when trying to create a Item

I am following the guide on how to create a item and for the life of me am unable to fix this error I am using intellij am on java 17 don’t know what to do anymore I have had the same error happen on fabric and scoured through their forums but couldn’t find anything, any help in finding the solution is appreciated.

Are you on the lastest Minecraft Versions?
The Registries class is relatively recent, so maybe you want the old Item Registry location, which is at Registry.ITEM

yup that solved it Thank you very much!

1 Like