Changing the way stuff is registered.

These changes are needed, this way the rendering can be made a lot
better and creating the items for crafting can depend on nbt data.