SHARE
TWEET

Patching NEI_Plugins for Forestry 2.0+

smbarbour Feb 4th, 2013 1,693 Never
  1. How to patch mistaqur's NEI_Plugins 1.0.4.5 to work with Forestry 2.0+
  2.  
  3. First, you will need a program to extract and replace files in an archive.  I recommend 7-Zip (http://www.7-zip.org/).
  4. Second, you will need a Java class file editor (http://sourceforge.net/projects/classeditor/)
  5.  
  6. Extract the following files from the NEI_Plugins jar:
  7.   mistaqur/nei/NEIPlugins_Forestry.class
  8.   mistaqur/nei/forestry/CarpenterRecipeHandler.class
  9.   mistaqur/nei/forestry/CarpenterRecipeHandler$CachedCarpenterRecipe.class
  10.   mistaqur/nei/forestry/FabricatorRecipeHandler.class
  11.   mistaqur/nei/forestry/FabricatorRecipeHandler$CachedFabricatorRecipe.class
  12.   mistaqur/nei/forestry/ForestryRecipeHandler$CachedShapedRecipeInternal.class
  13.  
  14. Using the Java class file editor find and replace all instances of the following strings in the Constant Pool:
  15.   in NEIPlugins_Forestry.class, replace "Forestry@(,1.8)" with "Forestry@(,2.1)"
  16.   in the other five classes, replace "ShapedRecipeInternal" with "ShapedRecipeCustom" (but NOT "CachedShapedRecipeInternal")
  17.  
  18. Put the changed class files into their respective places in the NEI_Plugins jar.
RAW Paste Data
Top