Hello hi I made that mod. The way it works is it creates invisible beacons under certain entities with the name "productivity-research-beacon". I briefly looked at your code and it seems the issue lies under your function "update_beacons_around_target" where you get the beacons for a target. Hopefully all that is needed is to exclude my beacon from that somehow, and it should function as expected?
Hi! Thanks for your report. I updated the code to only look at vanilla beacons. This was already the intended functionality however apparently this was only implemented for beacons being built and not updating beacons around target.
Upon further testing, that issue is fixed however it seems janky beacon rebalance still includes other beacons when gathering a total beacon count. Naturally some beacons may want to be included in that, so if it is possible to exclude specific beacons that may help