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

Whole structure block detection #151

Open
KingofAnomaly opened this issue Jul 25, 2022 · 4 comments
Open

Whole structure block detection #151

KingofAnomaly opened this issue Jul 25, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@KingofAnomaly
Copy link

Is your feature request related to a problem? Please describe.
Structures keep cutting into trees making the generation look unnatural.

Describe the solution you'd like
A whitelist and blacklist of blocks the structure can destroy when it spawns. This would allow people to blacklist leaves or logs so their structures don't spawn partly inside of a tree.

Describe alternatives you've considered
I have tried making the area for the structure bigger to cut out any trees nearby but it still has the same issues. I have also tried using the block level limit but it doesn't seem to detect trees unless it is set to be very flat which the structure itself doesn't need super flat land.

Additional context
Here are some images of boulders I have made to spawn around the world but they dont' do well in forests
Screen Shot 2022-07-25 at 10 03 52 AM
Screen Shot 2022-07-25 at 10 03 26 AM

@KingofAnomaly KingofAnomaly added the enhancement New feature or request label Jul 25, 2022
@ryandw11
Copy link
Owner

Trees are are ignored by structure generation, including things like the blocklevellimit. You could try using the block_replacement feature to replace logs and leaves with air.

@KingofAnomaly
Copy link
Author

I have not tried block_replacement yet but I have thought about it my only concern is that it would still leave pieces of tree just outside of the structure's area

@KingofAnomaly
Copy link
Author

I also have an issue where blocks are spawning in trees even though only grass, stone and dirt blocks are on the spawn blocks whitelist.

@KingofAnomaly
Copy link
Author

maybe a setting to ignore trees that is separate from the ignore plants option might be useful

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