Reborn Core

Reborn Core

91M Downloads

[1.12.2] RecipeHandler findAndApply method ignores NBT for chemical reactor and centrifuge

skyline918 opened this issue ยท 1 comments

commented

Hello, this issue related to https://github.com/TechReborn/TechReborn/issues/2182 , but there was no activity for 30 days. The point is one can use any type of cells in these machines (even empty ones), and crafting starts anyway, using first matching recipe with available count. I surrounded Recipe recipe = recipeHandler.findAndApply(inputs, true); (https://github.com/TechReborn/TechReborn/blob/614e10c280fe71b9d457ed6037026196e0441dac/src/main/java/techreborn/tiles/processing/TileMachine.java#L189) with prints , and wrong recipe was found on runtime.

TR: 2.27.3 (cloned from branch 1.12)
RC: 3.19.4.529

image

commented

They released a build in may where they said they fixed it on the 1.12 branch. But this is still an issue now.
TechReborn/TechReborn@698dfee

It effectively breaks tech reborn on 1.12 entirely, since the unaffected machines are duplicating IC2 functionality already.