AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

[ME Bridge] isItemCrafting returns false if an item is crafted for a larger recipe

Open derteufelqwe opened this issue 8 months ago • 2 comments

Describe

Description Then using the isItemCrafting function on an item, which is crafted as part of a larger item (for example oak planks, which are required for a workbench), it returns false, even though the item is currently crafted.

Expected Behaviour The item should be shown as currently crafting, even though it's crafted indirectly.

Steps to reproduce

  1. In an AE2 network create a crafting job with multiple steps (for example oak -> oak planks -> workbench)
  2. Start the craft of the larger item (the workbench)
  3. Using the AE Bridge, check if oak planks are ever marked as crafting using isItemCrafting

Multiplayer?

Yes

Version

1.21.1-0.7.49a (Not available in the issues dropdown menu)

Minecraft, Forge and maybe other related mods versions

NeoForge 21.1.131 for MC 1.21.1

derteufelqwe avatar Apr 20 '25 18:04 derteufelqwe

Mhh this is somewhat known - but I am not sure if this is tracked somewhere. Definitely fixable

SirEndii avatar Apr 20 '25 18:04 SirEndii

I spent a few hours looking into this issue but I found not way to reliably get detailed crafting job information from a crafting CPU. We also can't downcast interfaces from the AE2 api into concrete classes, as this wouldn't work with Extended AEs Quantum Crafter etc. I think someone with more experience regarding AE2 and its API must take a look at it.

derteufelqwe avatar Apr 21 '25 08:04 derteufelqwe