Adds a content to be registered in a Minecraft registry using Architectury API.
The path of the identifier of the content to register
The function creating