I've got a mod for my modpack that registers it's own datamap and defines some of its own entries.
What I would like to do is to iterate over the entries of that datamap from KubeJS, so that way I can apply tooltips to the items in the map based on the contents of the entry.
I'm assuming this is actually absurdly simple, but I can't find any documentation on KJS+datamaps anywhere so I don't really know where to start other than by just doing a bunch of Java.loadClass, at which point I could just do it in my mod instead.