Modular Machinery

Modular Machinery

12M Downloads

Machine not respecting NBT data

Thedrummonger opened this issue ยท 0 comments

commented

I am attempting to make a recipe that will only allow the creative strongbox from thermal expansion to be used. To do this I need the machine to only allow strong boxes with the tag "Creative":"1b". Here is the JSON I'm using to define a test recipe:
https://pastebin.com/jnpqTZ5Q

Through my tests I have found that even though I'm specifying "Creative":"1b" it will just use any item with the "Creative" tag and will disregard the number. So basically since all the strongboxes have the creative tag, they just have "Creative":"0b" instead of "Creative":"1b", the machine is allowing any strong box to be used. I have verified that a strong box that is missing the creative tag entirely will not work, but that is useless in this case. For reference, here is the mm-hand output for the creative strong box:
thermalexpansion:strongbox@0 (with nbt: {"RSControl":"0b","Creative":"1b","Level":"4b"} )
And here is the output for the regular strong box that should not work but does:
thermalexpansion:strongbox@0 (with nbt: {"RSControl":"0b","Creative":"0b","Level":"0b"} )

Forge: 14.23.3.2681
Modular Machinery: 1.9.4