Open 2.3.5: Agricraft crop stick recipe overrides BoP bamboo thatching recipe

F

Fractangle

Guest
Version:
2.3.5

What is the bug:
It's impossible to craft Biomes O'Plenty's bamboo thatching, because the bamboo stick is registered as ore:stickWood. The Agricraft crop stick recipe gets used when you put 4 in a crafting grid, instead of the bamboo-stick-specific thatching recipe.

Mod & Version:


Paste.feed-the-beast.com log:


Can it be repeated:
Put 4 <BiomesOPlenty:bamboo> in the crafting grid, and see that it only lets you craft crop sticks instead of thatching.

Known Fix:
I added the following lines to InfinityPackWideChanges.zs:

recipes.remove(<AgriCraft:cropsItem>);
recipes.addShaped(<AgriCraft:cropsItem> * 4, [[<ore:stickWood>, null, <ore:stickWood>], [null, null, null], [<ore:stickWood>, null, <ore:stickWood>]]);


This changes the crop stick recipe to be a stick in each of the four corners of the 3x3 grid, so that there isn't a conflict. It's not a perfect fix, since they can no longer be crafted without a crafting bench, but I can't think of a situation when I'd urgently need to make crop sticks and not have time to walk 10 blocks to a crafting table.
 

Booker The Geek

Well-Known Member
Feb 26, 2013
1,664
222
78
Pacific North West, USA
A bit more involved, but...
Code:
val stickForCrop = <ore:stickCrop>;
<ore:stickCrop>.mirror(<ore:stickWood>);
stickForCrop.remove(<BiomesOPlenty:bamboo>);
recipes.removeShaped(<AgriCraft:cropsItem>);
recipes.addShaped(<AgriCraft:cropsItem> * 4,[
    [stickForCrop, stickForCrop],
    [stickForCrop, stickForCrop]]);

Posted HERE
 
Last edited: