After some further research, I found a way to do this!
When loading into a word, you will need to send the CPacketClientStatus packet.
Ex:
mc.getConnection().sendPacket(new CPacketClientStatus(CPacketClientStatus.State.REQUEST_STATS));
And if you wanted this to update in real time... I would recommend wrapping an interval block around it
The reason it's 0 is because you need to open up the stats menu in game to load everything...
Before loading stat menu:
- 0
After loading stat menu:
-53
Does anyone have any idea how you can load the data without having to open the menu?