Registering the OSV blocks causes the ore's loot tables to be loaded immediately, which will fail if the loot table contains any modded items. Changing the loot table in question to drop a vanilla item rather than a modded one allows the loot table to load, so my assumption is that modded items aren't registered yet, since the item in question definitely eventually exists.
Setting the RegistryHandler#registerBlocks event priority to lowest, which doesn't seem to alter this behaviour.
Changing RegistryHandler#registerBlocks to use a DeferredRegister instead - doesn't alter this behaviour, definitely defers registration as the call to BaseOreVariant#updatePostRegister throws with this change.
Registering the OSV blocks causes the ore's loot tables to be loaded immediately, which will fail if the loot table contains any modded items. Changing the loot table in question to drop a vanilla item rather than a modded one allows the loot table to load, so my assumption is that modded items aren't registered yet, since the item in question definitely eventually exists.
Crash log: crash-2020-11-19_19.57.21-fml.txt
What I've tried:
RegistryHandler#registerBlocks
event priority to lowest, which doesn't seem to alter this behaviour.RegistryHandler#registerBlocks
to use aDeferredRegister
instead - doesn't alter this behaviour, definitely defers registration as the call toBaseOreVariant#updatePostRegister
throws with this change.