Integrated Dynamics

Integrated Dynamics

63M Downloads

[Question] How to detect every slot with an inventory reader.

Opened this issue · 2 comments

commented

Issue type:

Only keep the issue types that are applicable.

  • ❓ Question

Short description:

I'm trying to detect the amount of items in a blood infuser from evilcraft using an inventory reader but I can only see the items in the output slot, also in the number of slots it reads only 1 (the output slot). I'd like to know if there's any way I could see information about the input slot.

Expected behaviour:

See details about every slot.

Actual behaviour:

It only shows the output slot.

Steps to reproduce the problem:

  1. Evilcraft blood infuser with an inventory reader, there you can see it only detects 1 slot.

Versions:

Exact versions of the following mods, not just latest.

  • This mod: IntegratedDynamics-1.12.2-0.10.4
  • CyclopsCore: CyclopsCore-1.12.2-0.11.1
  • Minecraft: 1.12.2
  • Forge: 1.12.2-forge1.12.2-14.23.1.2600
commented

Inventory capabilities are (mostly) sided, which means that every side can expose different slots, which is the case with EC for example. This makes it so that things like hoppers and pipes only work on certain sides.

You can however change the target side of the reader in the part settings (right-top button). What I just thought of now, is that it would be good to add an 'empty' side to that option list, which would allow you to retrieve the internal state of a capability, for example all slots of a machine.

commented

Thanks for the tips, I just tried changing the target to every side but it was the same in every side like this:
2018-01-30_20 55 15
I also tested physically placing the reader in every side and it gave me the same results.
I thought it could be due to the infuser not having enough blood since it doesn't let you manually placing any items when that's the case, but I also tested with enough blood on the tank and I got the same results