Insert item into Machine using Integrated dynamics w/NBT filter

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

gueritol

New Member
Apr 12, 2020
4
0
2
Let's say that I have an item in one chest that has an NBT:{value1:"3", value2:"this", value3:10, value4:false} and I extract value3, which is an integer = 10. I then modify this value by adding +2, which results in an integer 12. This number is want to use as the value for a filter to find an item whose NBT key value3 = 12.
In another chest I have a bunch of items, all the the items have a different value3 NBT key, the other keys could be the same or not and as I want to ignore those anyhow it really plays no role in the filter.
In that chest there is one item that has an NBT: {value1:"12", value2:"that",value3:12, value4:false, value4:"xyz"}. I would like to filter this item, based on that value3 being equal to 12, disregarding any of the other keys in the NBT.
How can I make a filter using as the filter criteria only one of the keys of the NBT while this is a calculated variable (so value3: is the fixed key, yet the value part is a referenced variable, like the 12 value)?
Thanks in advance and I hope I properly explained.
 
Last edited: