I am updating my mod to 1.12(registry), until i hit a wall when my game crashed with:
java.lang.NullPointerException: Can't use a null-name for the registry, object net.minecraft.item.ItemBlock@73ae7ce4.
While debugging i also found that the ArrayList was filled but with null blocks.
I did the same thing for items and that's working fine.
Thanks in advance.
(full crash log)
My code:
@Mod.EventBusSubscriber(modid = Ref.MODID)
public class Blo