GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Rubber Ring Knife Craft Recipe Deletes Knife

loving2 opened this issue ยท 3 comments

commented

GregTech CEu Version

gtceu-forge-1.20.1-1.0.13.a

Recipe Viewer Installed

JEI

Environment

Dedicated Server

Cross-Mod Interaction

Yes

Expected Behavior

Another mod's knife durability should go down by 1

Actual Behavior

The other mod's knife is deleted

Steps to Reproduce

  1. Install another mod that comes with a knife, like Aquaculture 2, Farmer's Delight, or Twilight Forest
  2. Make a rubber ring with the other mod knife
  3. Note how the knife is yeeted from existence

Additional Information

Originally reported in ATM9 - AllTheMods/ATM-9#593

commented

I don't think we can quite do that? or can we?

commented

I tried hunting it down, and it looks like it is Forge code that returns hasCraftingRemainingItem() as false which causes the item to just get deleted rather than call getCraftingRemainingItem. I don't know why it returns false...

Might be something to do with how the recipe is generated? Might not either, as I tried deleting the recipe and making a new one with KubeJS which had the same issue.

commented

it's just that vanilla (or most mods) don't have remainder items, and we had to do some jank to make the combining recipes work as well.