mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +00:00
Make STRUCTURE_FEATURE registry a slave map of the FEATURE registry
Also convert Feature.STRUCTURES to a slave map
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user