Tech Reborn

Tech Reborn

30M Downloads

Grinder giving specific output for ALL dyes using custom recipe

ElectroBot opened this issue ยท 4 comments

commented

I added a custom recipe mods.techreborn.grinder.addRecipe(<betterwithmods:material:44>, <minecraft:dye:3>, 160, 10); which should grind cocoa beans into Betterwithmods cocoa powder, but the grinder turns any dye into cocoa powder now.

https://i.imgur.com/zg1OSLu.png

This seems to have been partially patched #1426, but not for custom recipe it seems.

Minecraft: 1.12.2
Forge: 14.23.4.2759
TechReborn: 2.17.3.815
RebornCore: 3.10.0.332

commented

I've just run into this problem as well, except it relates to the distinction between sand and red sand, rather than with dyes. It appears that the method RecipeSettings::setUseOreDict(boolean) was created to fix this kind of issue, but a few machines such as the grinder and rolling machine return void instead of RecipeSettings from addRecipe in the crafttweaker API. Therefore, there's no way to disable ore dictionary checking for those machines. It seems like it would make sense to just return RecipeSettings, but maybe there's an underlying reason for returning void instead from those particular methods.

commented

I will check to see if all machines support this, and try and add it where possible

commented

I think that all machines has support now... I tried setUseOreDict with Implosion compressor, that hadn't been mentioned in #1592 and #1590

commented

Remove other dyes to calcium:
industrialElectrolyzer.addRecipe(<techreborn:dynamiccell>.withTag({Fluid: {FluidName: "fluidcalcium", Amount: 1000}}), null, null, null, <minecraft:dye:15>*3, <techreborn:dynamiccell>, 20, 106).setUseOreDict(false);

Try the same with Grinder