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.
LuaPlayerRotatedEntityEventFilter
- _CodeGreen
- Long Handed Inserter
- Posts: 74
- Joined: Sat Mar 05, 2022 11:30 am
- Contact:
LuaPlayerRotatedEntityEventFilter
My Mods | If you can't make it perfect, make it adjustable
Re: LuaPlayerRotatedEntityEventFilter
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.
If you want to get ahold of me I'm almost always on Discord.