If you like, you can also use HuskyUI, which does a similar thing to TeslaLibs’ Inventory library, just in a different way. Check it out here: 📋 HuskyUI [v0.5.1] [API 5-7] - A simple, fast UI system for plugins - Now with Java Docs!
HuskyUI uses a more traditional approach to inventories rather than the Sponge DataAPI approach.