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

getItem() from OpenComputer doesn't work for all items #2250

Closed
Alexis3741 opened this issue May 31, 2019 · 3 comments
Closed

getItem() from OpenComputer doesn't work for all items #2250

Alexis3741 opened this issue May 31, 2019 · 3 comments
Labels
bug Something isn't working crossmod duplicate This issue or pull request already exists

Comments

@Alexis3741
Copy link

Issue description:

Using OpenComputer, getItem(stack:table[, compareMeta:boolean[, compareNBT:boolean]]):table function doesn't work for all item.

What happens:

I tried to get the number of uranium ingots from the Immersive Engineering mod (Modpack Direwolf20 v2.5.0) and the function returns "nil", works perfectly with ExtremeReactor's yellorium.
And rs.getItems() work fine too.
ps:(only tested for Uranium Ingot from Immersive Enginneering, there may be other items that don't work)

What you expected to happen:

Get the number of Uranium in the system

Steps to reproduce:

1.Put uranium in the storage
2.Connect a computer to the storage
3.Use the computer to get the number of uranium : rs.getItem({name="immersiveengineering:metal"})
...

Version (make sure you are on the latest version before reporting):

  • Minecraft: 1.11.2
  • Forge mod loader : 8.0.99.99
  • Minecraft Forge : 14.23.5.2821
  • Refined Storage: 1.6.12
  • OpenComputer: 1.7.4.153
  • Modpack : Direwolf20 v2.5.0

Does this issue occur on a server? Yes

If a (crash)log is relevant for this issue, link it here:

Demo program for OC : https://pastebin.com/AJ9cAGBb
(only put yellorium from bigreactor and uranium from immersive engineering in the storage to made it work.

Result :
uranium

@Darkere
Copy link
Collaborator

Darkere commented May 31, 2019

The uranium seems to have metadata did you try ignoring that?

@Alexis3741
Copy link
Author

The uranium seems to have metadata did you try ignoring that?

I've try : rs.getItem({name="immersiveengineering:metal",false,false}) but I got the same result : nil

@raoulvdberge raoulvdberge added bug Something isn't working can't reproduce We are unable to reproduce this issue crossmod labels Apr 26, 2020
@raoulvdberge
Copy link
Collaborator

Probably related to #2253

@raoulvdberge raoulvdberge added duplicate This issue or pull request already exists and removed can't reproduce We are unable to reproduce this issue labels Apr 26, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working crossmod duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants