Page 1 of 1

Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Posted: Wed Apr 26, 2023 5:54 pm
by GlassBricks
Right now, no event is triggered when an underground belt is rotated by dragging a belt over it in the opposite direction.

Could we add some event, such as on_player_rotated_entity, to detect this?

Re: Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Posted: Fri Apr 05, 2024 11:34 pm
by bitwiseshiftleft
Bumping:

I'm also interested in having an event for this (such as on_player_rotated_entity). Alternatively / in addition: would it be possible to make belt dragging respect entity.rotatable?

My mod has belts / undergrounds that I don't want to be rotatable, or at least currently the setup doesn't support that. So it marks them as non rotatable, but this doesn't stop the player from (accidentally) reversing the underground belts. This would be fine if I could detect it and rotate them back but currently I can't.

Re: Fire on_player_rotated_entity event when an underground belt is rotated by dragging belt

Posted: Thu Oct 03, 2024 1:20 am
by protocol_1903
+1