Open Peripheral is an old addon mod for Computer Craft and many programs I've found are old too and still use Open Peripheral. I would like to see their Inventory (chest) API (at least just the condense method) ported over to Advanced Peripherals, so I can use these old programs in latest Minecraft versions.
Describe alternatives you've considered if you've any
Probably write a method similar to condense in Lua which swaps the items in the chest back and fourth from the turtle's inventory to achieve the same thing in a long and tedious way ... and rewrite the old programs to use it.
Describe your idea
Open Peripheral is an old addon mod for Computer Craft and many programs I've found are old too and still use Open Peripheral. I would like to see their Inventory (chest) API (at least just the
condense
method) ported over to Advanced Peripherals, so I can use these old programs in latest Minecraft versions.Describe alternatives you've considered if you've any
Probably write a method similar to
condense
in Lua which swaps the items in the chest back and fourth from the turtle's inventory to achieve the same thing in a long and tedious way ... and rewrite the old programs to use it.Additional context
Open Peripheral's documentation (Archive) https://web.archive.org/web/20131005102541/http://www.openperipheral.info/openperipheral/documentation/vanilla/chest
Java code for Open Peripheral's Inventory API and
condense
method. https://github.com/OpenMods/OpenPeripheral-Integration/blob/c9268ff2e3f85c442719bcfb705e56ad540ae528/src/main/java/openperipheral/integration/vanilla/AdapterInventory.java#L58Once this is done this will allow me to use the "Daintree" store program from Dynet.
Linked Issues
No response