[Request] Update Crafting Handler of Forestry Machines
Yulife opened this issue ยท 3 comments
For @jaredlll08
@mezz changed some stuff with the Carpenter regarding the box slot. Now a custom recipe will not work.
No error is thrown.
The box slot has changed so that it will only accept valid boxes. The recipe manager keeps a list of these boxes, and it adds them in the main addRecipe method:
@Override
public void addRecipe(int packagingTime, FluidStack liquid, ItemStack box, ItemStack product, Object materials[]) {
recipes.add(new Recipe(packagingTime, liquid, box, ShapedRecipeCustom.createShapedRecipe(product, materials)));
if (liquid != null) {
recipeFluids.add(liquid.getFluid());
}
if (box != null && !isBox(box)) {
boxes.add(box);
}
}
I'm not sure how you guys do things but I'll help if I can.