Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

Patching NEI_Plugins for Forestry 2.0+

By: smbarbour on Feb 4th, 2013  |  syntax: None  |  size: 1.11 KB  |  views: 1,671  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to patch mistaqur's NEI_Plugins to work with Forestry 2.0+
  3. First, you will need a program to extract and replace files in an archive.  I recommend 7-Zip (
  4. Second, you will need a Java class file editor (
  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
  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")
  18. Put the changed class files into their respective places in the NEI_Plugins jar.
clone this paste RAW Paste Data