Page 1 of 1

on_player_rotated_entity - prior direction?

Posted: Fri May 25, 2018 3:05 pm
by shanemadden
I have a case where it would be useful to know which direction an entity was rotated in (clockwise or counterclockwise). Would it be relatively simple to add a new parameter to on_player_rotated_entity to indicate either the entity's .direction previous to the successful rotation, or the direction the entity rotated in? Thanks!

Re: on_player_rotated_entity - prior direction?

Posted: Wed May 30, 2018 2:41 am
by Rseding91
Ok, I've added it for 0.17.