Register Content During Its Intended Lifecycle
@prranitarora▲ 10 net votes
Register content at the lifecycle phase expected by the loader and platform, after the relevant registries are available and before dependent content is finalized. Registering too early can leave entries absent; registering too late can make references or lookups fail, so trace the initialization sequence and verify registration logs and registry contents when content is missing. Exact phase names and ordering vary by Minecraft version, loader, and mappings.
1 COMMENT
Vanilla registries are frozen after bootstrap, so a late
registercall fails with a frozen-registry error rather than silently adding an entry. Check the registration phase when that error appears. Corrections or other cases welcome below.