Closed naxhh closed 1 year ago
DeferredRegister
is the recommended method. The reason to use RegisterEvent
is if you don't need to refer to the object being created within your source or you are creating an optional entry, typically for mod interoperability.
https://github.com/MinecraftForge/Documentation/blob/1.19.x/docs/concepts/registries.md#methods-for-registering
states
to later say
For someone new that is trying to learn the direct question is: "which one is the recommended one then?"
DeferredRegister because is easier to setup and says "recommended"
or RegisterEvent because it will not cause as many as object registries and that is really important in this case?
Maybe rewording one of them to make them more clear would help