Get Player's Coordinates

Published by cap174 on Tue, 02/12/2019 - 17:32
Upvotes: 1
Issue description

Hello!

I have an Idea for a new procedure in MCreator - a block that will get the current location of the player. If you can add this it will be really helpful. Thank you!

Issue comments

Submitted by Goldorion on Sun, 02/17/2019 - 15:58

And can you add a procedure block who get where player look, like east, west, north or south, or -x, x, -z, z, y (up), y (down) please, because it will be very helpfull for make hammer 3x3x1 for example.

To check if the player is facing N, S, W, E, you can use get players direction in degrees block.

0 when looking south. As I said this numerous times, just print the value in chat and you will be able to see how it changes :D

We will add this in MCreator 1.8.3. I am closing this ticket now.

Submitted by Tacedaemo on Fri, 06/14/2019 - 15:04

How would I go about doing this?

Use get entity x, get entity y and get entity z procedure blocks from Entity category.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.