Applied Energistics 2

Applied Energistics 2

137M Downloads

An item that lets you check if current chunk is loaded using spatial Anchor

L-Lawlite opened this issue ยท 6 comments

commented

Describe the feature

When you right-click, an item consumes some power from the charge and tells whether the current chunk is being loaded with spatial anchor. Bonus if tells the co-ordinate of all the spatial anchors that are loading it as there could be multiple.

Reasons why it should be considered

Because when the network becomes larger and spans across multiple dimensions it is difficult to find how many spatial anchors and where they are actually placed. This can be easily done if data of spatial anchors is stored in a heap map with the key of chunk X, Z. And it will be nicer addition to the current items.

Additional details

No response

commented

why not going the full mile and add some visuals and depending on the mode to show a) the current chunk border (simple chunkviewer) or b) all loaded chunks in "border-view" (where only the borders of connected loaded chunks of the local chunk are highlighted) or c) each loaded chunk borders in a sensible range or view range depending on the FPS impact (might look messy but people like me do like it more that way and it helps finding rouge loaded chunks that i am not standing in or isles with missing chunkloading more easy)

alternative, like chunkviewer, a window with a map of the area with only the loaded chunks being viewable (to not make it a replacement of normal maps)

commented

That works too. But it has more performance and implementation issues I think.

commented

a lot of other mods do similar things, hence i suggested going the full mile :)

and if not considered, we can link this issue tot he explanation why it does not have visuals, because the question will pop up later i can imagine

commented

You mean like this?
2023-08-26_11 24 26
2023-08-26_11 24 35

commented

No this is what I don't want since. I can't find the spatial anchor in most cases. Sometimes when I leave and come to the dimension from another side it doesn't show the overlay. However, it is getting forceloaded as I can take items from my system anywhere. This also causes massive lag when turned on.

commented

The idea is to know whether the chunk is loaded or not if loaded what spatial anchor is loading it with co-ordinates of spatial anchor. It can be implemented using a hash map. With chunk coordinates as keys and spatial anchor co-ordinates in values.