BuildCraft|Core

BuildCraft|Core

7M Downloads

Builder able to turn Forestry normal wood variant into the Forestry Fireproof wood variant

knexer opened this issue ยท 5 comments

commented

Copied from BuildCraft/BuildCraftCompat#38

BC 7.0.20
BCC 7.0.11
Forestry 1.7.10-3.6.3.20

If you have a Blueprint which contains Forestry Fireproof wood, and if you place the normal variant of that wood in the builder in a slot before the fireproof wood. Tthe builder will take the normal wood and will place down fireproof wood and not use up the fireproof wood which was in the builder.

commented

see my comment on the other issue, BCC bug

commented

It's not a BCC bug; like I said in the other issue, removing Forestry compat from BCC doesn't affect the issue. Forestry logs aren't even ITileEntityProviders (in this version of Forestry at least...), their schematic handler is being set in HeuristicBlockDetection.java to the default for non-TE blocks.

The issue is in the disagreement between the Builder's checking that requirements for the build are met and actually consuming the requirements; see this PR that fixes the issue:
#2958

commented

hmm, that change might indeed fix it but won't that cause the builder to not detect other things?

commented

I think (new to this codebase) that any behavior differences will be bugs of this form.

commented

Right now the builder will use materials to build that don't otherwise count towards the build's requirements. I can't see a good reason for those things to be inconsistent. Ideally some of that logic should be deduplicated but I wanted to submit a minimal PR so I stuck with synchronizing them instead.