Get Belts of belt Line
Posted: Sat Jan 30, 2021 3:41 pm
Hello everyone, hello dear dev's
I am trying to create a mod which allows you, to built speed editable belt's.
There I have to get the Belt-Line to change the speed, do the electricity calculation and more.
It would be nice, if there would be a way to get all Belt's of one line.
I know there is the belt_neighbors which gives you the neighbor of a single belt.
But I hoped, that you could get all the belt entities from a belt line in one table, to get a better performance.
If you don't store them while creating the path for the Items, you don't need to implement this.
But if the data is already stored in a variable, it would be nice if I could access the variable through the api.
I am trying to create a mod which allows you, to built speed editable belt's.
There I have to get the Belt-Line to change the speed, do the electricity calculation and more.
It would be nice, if there would be a way to get all Belt's of one line.
I know there is the belt_neighbors which gives you the neighbor of a single belt.
But I hoped, that you could get all the belt entities from a belt line in one table, to get a better performance.
If you don't store them while creating the path for the Items, you don't need to implement this.
But if the data is already stored in a variable, it would be nice if I could access the variable through the api.