Applied Energistics 2

Applied Energistics 2

160M Downloads

Expose Storage Bus full inventory via API

michele-grifa opened this issue ยท 4 comments

commented

Describe the feature

Currently the StorageBusPart don't expose the full connected inventory, but only a part of it.

Reasons why it should be considered

Because for some integrations, could be useful to have the full inventory.

Additional details

No response

commented
  1. you have not provided which version you are actually working on

The version is 12.9.2 for 1.19.2

  1. you have not explained why you would want this. if you already have the storage bus, you can just grab whatever is on the other side in the world yourself.

I could try to do so.

commented

You'll have to provide more information than that for a bug report.

commented

The situation is a Storage Bus connected to a non-full inventory.

Using the IGrid.getMachineNodes(StorageBusPart.class) we can access all the Storage Buses in the network.

On each StorageBusPart, the only way to access the inventory is using getInternalHandler() method but this return a list of stacks that are in that inventory, not the full inventory.

commented

Okay, NOW I get it. You are talking about addon development.

  1. you have not provided which version you are actually working on
  2. the storage bus part is not part of the API anyway, so providing more methods would not be API either
  3. you have not explained why you would want this. if you already have the storage bus, you can just grab whatever is on the other side in the world yourself.