mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
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:
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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user