Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for jdeast

Enables a python/scratch API to minecraft

Report FruitJuice?

R

0.5.3

Walk the way you are facing.

The camera controller moved in world directions, so waving up the screen walked you north however you were turned. It now reads the wave in screen space and turns it into world directions using the player facing, so up is forward and turning turns your controls with you.

player.getRotation reported a mirrored bearing: it negated a negative yaw instead of wrapping it, so east (-90) came back as 90, which is west. The whole eastern half of the compass was reflected onto the western half. Now wrapped into 0-360, and it handles a player spinning past a full turn.

Scratch gains a "player facing" block. The method existed; the block never did, which is why the controller could not steer relative to the player.

Information

Published
September 9, 2026
Author
0Downloads

Platforms

Paper
Paper
1.20–1.21.11