Closed rmackinnon closed 7 years ago
The more functions I add, the more fragmentation there will be in scripts between various implementations (Raspberry PI, Raspberry Juice, mcpiapi). And there is the question of just how much info to return. And whether to implement a player.putInHand() function...
I can understand that. The core idea of the project isn't to add code sprawl, but maintain the core features. I have a pretty specific idea for the use, so I'll just fork the mod and pair down to what I need it for.
As a general feature request, if there was a way to expose what a player is holding? I see that in private function "holdingSword" we're getting player.getHeldItem(). But that doesn't seem to be exposed anywhere else from the python side. Unless I'm totally missing where it's exposed or how to access it.