Ohh ok, that makes sense, but even still how could I fix it? I cant initialize my items before I do my ToolMaterialList because my items class uses it.
your "beryl" Item is not an Item, it's a RegistryObject of an Item, think of it like a box which at the starts is empty, and that after registration your item gets put inside of it.
you're passing a RegistryObject to the Ingredient, while it expects an IItemProvider
you can call RegistryObject#get to get the item that's inside it
but note that if you call it before registration happens, the box is going to be empty and there won't be an item yet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.