getOrCreate
@ApiStatus.Internal
@NotNull
Gets or creates a registry for a base entity.
Return
the registry
Since
1.15.2
Parameters
entity
the base entity
@ApiStatus.Internal
@NotNull
Gets or creates a tracker in this registry.
Return
the tracker
Since
1.15.2
Parameters
key
the key (model ID)
supplier
the supplier to create the tracker