BuildCraft|Core

BuildCraft|Core

7M Downloads

Improve laser targetting

AEnterprise opened this issue ยท 7 comments

commented

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?

commented

Should be fixed in 7.99.8.

commented

Sure am. I'll take this on

commented

Superseded by #3796

commented

Nope. That one made it sync only when needed. This is about not constantly looking for laser targets

commented

Then I could take a look at this too

commented

I just submitted a pull request that completes this so there shouldn't be a need to look into it further

commented

This is now fixed in dev. Merge Commit