Me Bridge's listCraftableItems() does not behave as expected.
toastonrye opened this issue ยท 1 comments
Describe
minecraft-forge 1.19.2-43.1.47
cc-tweaked-1.19.2-1.101.1.jar
appliedenergistics2-forge-12.8.4.jar
AdvancedPeripherals-0.7.21b.jar
listCraftableItems() only returns a table if the item amount is greater than 0. If there is 0 of some item that is craftable, it should still return a table, with amount 0.
Steps to reproduce
local me = peripheral.find("meBridge")
if not me then error("meBridge not found") end
patterns = me.listCraftableItems()
for k, v in pairs(patterns) do
print("listCraftableItems: ", v)
end
for k, items in pairs(patterns) do
print(items.name, items.amount)
end
53 second demonstration
https://www.youtube.com/watch?v=iQxfN4farMA
Multiplayer?
No
Version
1.19.2-0.7.19a (Latest 1.19)
Minecraft, Forge and maybe other related mods versions
minecraft-forge 1.19.2-43.1.47
Screenshots or Videos
https://www.youtube.com/watch?v=iQxfN4farMA
Crashlog/log
No response