Page 1 of 1

how to use python to change the direction that the player is facing

Posted: Sat Dec 01, 2018 1:56 pm
by RomoBoom
please... can i have some help? also can some good programmer make a newer version to the pi minecraft :?: :| :P

Re: how to use python to change the direction that the player is facing

Posted: Sat Dec 01, 2018 3:36 pm
by scotty101
According to the API and the developer on this page, there isn't a way to change the players direction.

https://www.stuffaboutcode.com/p/minecr ... e.html?m=1

Re: how to use python to change the direction that the player is facing

Posted: Sun Dec 09, 2018 5:16 pm
by jdonald
Not a Python API, but I've outlined how to tweak SDL to control movements here. Not trivial yet easier than poking at the executable with memory-watch or reverse-engineering the binary.
RomoBoom wrote:
Sat Dec 01, 2018 1:56 pm
also can some good programmer make a newer version to the pi minecraft :?:
There have been other calls for this over the years, but the motivation for doing so has gone down over time. One reason is that the full Java Edition Minecraft can run on a Pi 3 or 3B+. This even works with a Spigot server enabled with RaspberryJuice, i.e the same Python APIs.