I like the mod too, so I might look into adapting it to krastorio 2 myself. pretty sure deadlock really hates people modifying his stuff and sharing it so less motivated to do so than I'd otherwise be.
Pretty sure you're completely clueless.
Deadlock's Stacking Beltboxes is maintained by shanemadden and me. We spent countless hours implementing an API for it so that anyone can create third party support for literally any other mod, just search the mod portal for many examples of people that have done for this for Bob's, Py's, Angel's, and others. It also has a GNU license so you can do whatever you like with it within the terms of that license. If the API doesn't provide everything you want then the code is on Github so you can propose changes by forking it yourself and submitting a pull request.
You're fucking welcome.