
Patching NEI_Plugins for Forestry 2.0+
By:
smbarbour on
Feb 4th, 2013 | syntax:
None | size: 1.11 KB | hits: 1,468 | expires: Never
How to patch mistaqur's NEI_Plugins 1.0.4.5 to work with Forestry 2.0+
First, you will need a program to extract and replace files in an archive. I recommend 7-Zip (http://www.7-zip.org/).
Second, you will need a Java class file editor (http://sourceforge.net/projects/classeditor/)
Extract the following files from the NEI_Plugins jar:
mistaqur/nei/NEIPlugins_Forestry.class
mistaqur/nei/forestry/CarpenterRecipeHandler.class
mistaqur/nei/forestry/CarpenterRecipeHandler$CachedCarpenterRecipe.class
mistaqur/nei/forestry/FabricatorRecipeHandler.class
mistaqur/nei/forestry/FabricatorRecipeHandler$CachedFabricatorRecipe.class
mistaqur/nei/forestry/ForestryRecipeHandler$CachedShapedRecipeInternal.class
Using the Java class file editor find and replace all instances of the following strings in the Constant Pool:
in NEIPlugins_Forestry.class, replace "Forestry@(,1.8)" with "Forestry@(,2.1)"
in the other five classes, replace "ShapedRecipeInternal" with "ShapedRecipeCustom" (but NOT "CachedShapedRecipeInternal")
Put the changed class files into their respective places in the NEI_Plugins jar.