public void Set(ResourceLocation location, Func <IRegistryEntry <TEntry> > entry) { Entries.AddOrUpdate(location, entry, (resourceLocation, func) => entry); }