Page 1 of 1

LuaPlayerRotatedEntityEventFilter

Posted: Fri Dec 02, 2022 9:05 pm
by _CodeGreen
I'm trying to hook all events that modify an existing entity, and filter it to just transport belt connectables.
However, on_player_rotated_entity does not have an event filter, and as you may have guessed, that is the request.

Re: LuaPlayerRotatedEntityEventFilter

Posted: Wed Dec 07, 2022 10:28 pm
by Rseding91
I’m not against adding filters but generally the filters are for when the event happens a lot and to allow filtering out the ones a mod doesn’t need without paying the overhead of filtering on the lua side. In this case the event is super rare and performance isn’t really a concern.