Open arpruss opened 9 years ago
MCPE no longer includes the Pi API as of 0.13; I can build a script or addon that supports the Pi api if you want.
Thanks! I wrote my own js script: https://github.com/arpruss/raspberryjam-pe It would be nice to have native code rather than js, but it works fine right now.
Apparently the Minecraft PE code includes a disabled version of the Raspberry PI API ( http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-discussion/1968832-parts-of-the-minecraft-pi-api-is-present-on-the ). While one could write a js mod that implements a part of that API, it would be a lot neater and more elegant if BlockLauncher could simply natively enable the disabled code. Any chance of that?
To encourage you, let me explain the reason I am asking. I will be teaching a summer programming class for middle- and high-school students, using python and desktop Minecraft (with my Raspberry Jam Mod which provides the API; I could also have used your Raspberry Juice and a server). I know from past experience that some of the lower income kids in the class won't have a computer at home but will have a smartphone. If the API was enabled on Pocket Edition, then the kids could go home after the end of the course and continue their coding using QPython.
I tried writing a js mod for BlockLauncher that enables a subset of the API, and had some success, but (a) if there is native support for the API, the performance should be better (the performance I am getting is poor), (b) I am drastically short of time this summer due to other responsibilities, and (c) I am having problems due to the lack of thread synchronization in javascript.