Make STRUCTURE_FEATURE registry a slave map of the FEATURE registry

Also convert Feature.STRUCTURES to a slave map
This commit is contained in:
tterrag committed 2019-09-06 23:42:19 -04:00
1 parent 3ef1d6919c
commit 55fe7c470f
5 files changed
+98 -10

No files matched your search

@@ -67,7 +67,7 @@ public class ClearableRegistry<T> extends MutableRegistry<T>
public ClearableRegistry(ResourceLocation name, Class<T> superType)
{
this.name = name;
this.isDelegated = ForgeRegistryEntry.class.isAssignableFrom(superType); //TODO: Make this IDelegatedRegistryEntry?
this.isDelegated = superType != null && ForgeRegistryEntry.class.isAssignableFrom(superType); //TODO: Make this IDelegatedRegistryEntry?
}
@Override