Improve laser targetting
AEnterprise opened this issue ยท 7 comments
Currently lasers are constantly looking for targets when they realy don't have to. It would be much better to only iterate once on the first tick to do an initial collection of targets, after that it could listen to block changes in the world to add/remove target locations
this would mean alot less ticktime for the lasers and we can probably also lose the requirement of blocks implementing the interface because we will not be requesting TE's often anymore
@JustWannaFly interested in taking a look at this?
Should be fixed in 7.99.8.
Superseded by #3796
Nope. That one made it sync only when needed. This is about not constantly looking for laser targets
I just submitted a pull request that completes this so there shouldn't be a need to look into it further
This is now fixed in dev. Merge Commit