Entity direction

Started by thebebist on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity direction
Tue, 01/29/2019 - 20:44 (edited)

Is there any way to use the entity direction procedure block to check if the player faces north, south, west or east?

Edited by thebebist on Tue, 01/29/2019 - 20:44
This is how this block works…
Wed, 01/30/2019 - 14:34

This is how this block works. Just divide degrees in quadrants and you will be able to use it for this purpose. 0 degrees is absolute south, so any value between 360 - 45 and 45 is south.

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to use it but it did…
Wed, 01/30/2019 - 19:32

I tried to use it but it did not work.

 

Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is "entity direction in A…
Tue, 02/05/2019 - 12:03

Is "entity direction in A relative to S 1,2,3,4 = south, west, north, east or is it degrees? I.e. do we need to do the math or is it already done? 

P.S. nice up date. 

It is relative to the south…
Tue, 02/05/2019 - 15:47

It is relative to the south and the value is returned in degrees. You can just print the value in the chat to get the idea of how it works.

Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK if a block has…
Sun, 02/10/2019 - 20:31

OK if a block has directionality is the block front facing south? I have tied to make a block break a block at its front face and its giving me random directions with the drops some times being to the side. Using degrees. In if loops its locking into the first possible direction but dropping extra cobble. I'm trying to make a cobble gen block breaker.