Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.16.5] Fetching items from linked storage scanner not working #196

Open
MrAsare opened this issue Aug 23, 2023 · 6 comments
Open

[1.16.5] Fetching items from linked storage scanner not working #196

MrAsare opened this issue Aug 23, 2023 · 6 comments

Comments

@MrAsare
Copy link

MrAsare commented Aug 23, 2023

Issue description:
Cannot fetch items out of linked storage scanner
Only checking count of items of linked storage scanner works

Steps to reproduce:
Processor with storage module linked to storage scanner
Use any fetch or get ingredients with inventory slot empty to use storage
Does not fetch items on execution and fetch returns 0

Versions:

  • Minecraft: 1.16.5
  • Forge-1.16.5-36.2.39
  • mcjtylib-1.16-5.1.8.jar
  • rftoolsbase-1.16-2.1.5.jar
  • rftoolscontrol-1.16-4.0.18.jar
@McJty
Copy link
Collaborator

McJty commented Aug 23, 2023

That's because the storage scanner is not an inventory. The fetch/get only works on inventories. There are specific opcodes to work with the storage scanner

@MrAsare
Copy link
Author

MrAsare commented Aug 23, 2023

Sorry, I couldn't find it anywhere.
Which opcode should I use to go about extracting from the storage scanner?
I thought you are supposed to leave the inventory slot empty to signify taking from the storage scanner with linked module.
Thanks

@McJty
Copy link
Collaborator

McJty commented Aug 23, 2023

I can't go in game to check and I don't remember. I'll get back to you on this

@MrAsare
Copy link
Author

MrAsare commented Aug 23, 2023

For the record I have tried 'fetch items', 'get ingredients' and 'get ingredients smart'.
The last 2 specify they can be used with a storage scanner.
As well as this, I tried the same setup in 1.20 and 1.12.2 and they worked there. Not sure whats going wrong
Thank you for the quick replies.

@McJty
Copy link
Collaborator

McJty commented Aug 24, 2023

When you use 'fetch' are you specifying the item to fetch? Because for storage scanner that's required (it says so in the tooltip)

@MrAsare
Copy link
Author

MrAsare commented Aug 24, 2023

Yes I believe so.
Specifying the 'itemfromcard' in getIngredients should be enough for it to fetch the correct ingredients I assume.
I've also tried this with normal fetch and specifying to take any item and it also doesn't work.
It pulls the correct ingredients when I use an adjacent chest but as soon as I pull from internal storage (by leaving it blank) it does not work..

Programmer
crafting station
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants