(Note: before registry events Modders created and registered their items in preInit.
How: Use the annotation if you need static references to your objects and create & register your objects in the appropriate registry event. Why: Using static initialisers does not allow you to control when your objects are created or the order in which your objects are created.Ĭonsequences: Using static initialisers prevents other mods from overriding your objects, prevents forge from being able to dynamically load/unload mods and can cause weird, unreproducible crashes.