Check for player direction

Upvotes: 0
Issue description

Can you implement a procedure block for checking for player direction? This could be useful for rotatable blocks (using the event trigger "when block placed by") and a lot of other stuff like blocks that act like ice

Sorry for bad English

Issue comments

Submitted by Klemen on Sat, 07/14/2018 - 08:41

I will add this procedure block in future updates. Thank you for the suggestion.

Submitted by Klemen on Wed, 01/09/2019 - 18:50

This feature will be added in MCreator 1.8.2 for all entities. I am closing this ticket.

I don't understand how this procedure work can you explain me Please :D, A procedure block:

Is entity looking at [>North/East/South/West/NE/NW/SE/SW] procedure block isn't easier?

Submitted by Klemen on Mon, 03/11/2019 - 19:25

There are quite a few explanations of it on the forums already. It returns the angle of the player, this is a very basic concept and more useful than a discrete result with only a few directions.