diff --git a/src/main/java/minechem/init/ModEvents.java b/src/main/java/minechem/init/ModEvents.java index eaacf9cba..b57c64588 100644 --- a/src/main/java/minechem/init/ModEvents.java +++ b/src/main/java/minechem/init/ModEvents.java @@ -400,19 +400,6 @@ else if (fluidBlock.getFluid() instanceof FluidMolecule) { } } - @SubscribeEvent - public void onOreEvent(OreDictionary.OreRegisterEvent event) { - String oreName = event.getName(); - if (ModRecipes.getOreDictionaryHandlers() != null) { - for (IOreDictionaryHandler handler : ModRecipes.getOreDictionaryHandlers()) { - if (handler.canHandle(oreName)) { - handler.handle(oreName); - return; - } - } - } - } - @SubscribeEvent public void onDecayEvent(RadiationDecayEvent event) { if (event.getPlayer() != null) { diff --git a/src/main/java/minechem/init/ModRecipes.java b/src/main/java/minechem/init/ModRecipes.java index 8130d748d..7c0d0a855 100644 --- a/src/main/java/minechem/init/ModRecipes.java +++ b/src/main/java/minechem/init/ModRecipes.java @@ -2001,6 +2001,18 @@ public static void registerCustomRecipes(IForgeRegistry registry) { registry.register(new RecipePotionCoating()); registry.register(new RecipePotionSpiking()); registry.register(new RecipeCloneChemistJournal()); + + for (String oreName : OreDictionary.getOreNames()) { + ModLogger.debug("Checking oredict " + oreName); + if (ModRecipes.getOreDictionaryHandlers() != null) { + for (IOreDictionaryHandler handler : ModRecipes.getOreDictionaryHandlers()) { + if (handler.canHandle(oreName)) { + handler.handle(oreName); + break; + } + } + } + } } //TODO