Called when the player rotates an entity. This event is only fired when the entity actually changes its orientation -- pressing the rotate key on an entity that can't be rotated won't fire this event.
Entities being flipped will not fire this event, even if the flip involves rotating. See on_player_flipped_entity.
entity: LuaEntity — The rotated entity.previous_direction: defines.direction — The previous directionplayer_index: uint32name: defines.events — Identifier of the eventtick: uint32 — Tick the event was generated.