From 68fb27410e5c6a4c7987babb2b411def462c6380 Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 6 Jun 2016 19:00:44 -0700 Subject: [PATCH] #1295 Add Forestry recipes to the RecipeSorter --- src/main/java/forestry/core/PluginCore.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/forestry/core/PluginCore.java b/src/main/java/forestry/core/PluginCore.java index 2898ab00f..2a915544a 100644 --- a/src/main/java/forestry/core/PluginCore.java +++ b/src/main/java/forestry/core/PluginCore.java @@ -32,6 +32,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.oredict.OreDictionary; +import net.minecraftforge.oredict.RecipeSorter; import forestry.api.circuits.ChipsetManager; import forestry.api.core.ForestryAPI; @@ -61,6 +62,7 @@ import forestry.core.network.IPacketRegistry; import forestry.core.network.PacketRegistryCore; import forestry.core.proxy.Proxies; import forestry.core.recipes.RecipeUtil; +import forestry.core.recipes.ShapedRecipeCustom; import forestry.core.render.TextureManager; import forestry.core.utils.ClimateUtil; import forestry.core.utils.ForestryModEnvWarningCallable; @@ -133,6 +135,8 @@ public class PluginCore extends BlankForestryPlugin { AlleleHelper.instance.init(); Proxies.render.initRendering(); + + RecipeSorter.register("forestry:shaped", ShapedRecipeCustom.class, RecipeSorter.Category.SHAPED, ""); } @Override