Add custom registry type support to DeferredRegister. (#6742)

It's still a hard dependency because it requires a class reference.
But there is not a sane way to test registry types without a class reference.
This commit is contained in:
LexManos authored and GitHub committed 2020-06-12 15:28:43 -07:00
1 parent 5dbea9ea8d
commit fd9bf64d53
8 files changed
+244 -25

No files matched your search

@@ -45,7 +45,6 @@ import org.apache.logging.log4j.Logger;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import static net.minecraftforge.fml.Logging.CORE;
import static net.minecraftforge.registries.ForgeRegistry.REGISTRIES;
/**