Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually created block landmarks #55

Open
SettingDust opened this issue Oct 20, 2024 · 4 comments
Open

Manually created block landmarks #55

SettingDust opened this issue Oct 20, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@SettingDust
Copy link

When working on https://github.com/SettingDust/SurveyorAtlases.
I noticed the Moonlight has the block marker that can mark the block by right-clicking the block with the map.
For structures, I can get the marker type from the structure https://github.com/SettingDust/SurveyorAtlases/blob/main/src/main/kotlin/settingdust/surveyor_atlases/SurveyorStructureDecoration.kt#L36

But for blocks. I have to mapping them manually https://github.com/SettingDust/SurveyorAtlases/blob/main/src/main/kotlin/settingdust/surveyor_atlases/SurveyorLandmarkDecoration.kt#L129-L186

How about a data driven generic marker for blocks like how POI?
If the block discovering has heavy performance impact. How about data driven block entity marker since there is index?

https://modrinth.com/mod/block-swap is able to replace the blocks. So I think block discoverer is possible as well.

@sisby-folk
Copy link
Owner

This is interesting and seems like a nice command or something - what does this look like in map atlases? Does it use the block item model?

@sisby-folk sisby-folk added the enhancement New feature or request label Nov 13, 2024
@sisby-folk sisby-folk changed the title A generic marker for blocks Manually created block landmarks Nov 13, 2024
@sisby-folk
Copy link
Owner

So is the idea that the landmark signifies a block being at a specific location, and then the block is broken the landmark is invalidated?

@SettingDust
Copy link
Author

So is the idea that the landmark signifies a block being at a specific location, and then the block is broken the landmark is invalidated?

I think so. It won't disappear in Moonlight. Since it's marked manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants