Want more features on Pastebin? Sign Up, it's FREE!
Guest

Patching NEI_Plugins for Forestry 2.0+

By: smbarbour on Feb 4th, 2013  |  syntax: None  |  size: 1.11 KB  |  views: 1,629  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.
clone this paste RAW Paste Data