Advanced Peripherals

Advanced Peripherals

29M Downloads

NBT Filters are broken (Forge, 1.20.1)

Janrupf opened this issue ยท 0 comments

commented

Describe

Attempting to filter an with NBT from a Refined Storage system yields some random other item.

Steps to reproduce

  1. Let b be an RS Bridge connected to a storage system
  2. Execute i = b.getItem({ name = "shrink:shrinking_device", nbt = "{ \"Energy\": 60000 }"})
  3. Execute print(i.name)

In this case i.name yielded minecraft:warped_stem. I'm not sure if I specified the NBT data correctly, but even if not I shouldn't get some random other item.

Running the same with nbt = { Energy = 60000 } (as in, passing the NBT as a table) yields the correct item matching the name, but NBT data is ignored.

Multiplayer?

Yes

Version

1.20.1-0.7.40r (Latest 1.20.1)

Minecraft, Forge and maybe other related mods versions

Forge 47.3.0, Minecraft 1.20.1

Screenshots or Videos

No response

Crashlog/log

No response