When registering custom IConditionFactorys via a _factories.json file, there is no way to register these using a different namespace, due to CraftingHelper always prefixing the string with the current modid.
|
ResourceLocation key = new ResourceLocation(context.getModId(), entry.getKey()); |
Imo this should check for a modid prefix before substituting the current modid.
When registering custom
IConditionFactorys via a_factories.jsonfile, there is no way to register these using a different namespace, due to CraftingHelper always prefixing the string with the current modid.MinecraftForge/src/main/java/net/minecraftforge/common/crafting/CraftingHelper.java
Line 579 in afd6de3
Imo this should check for a modid prefix before substituting the current modid.