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

Add Example Custom Filter to Wiki #484

Open
TheNferno opened this issue Jun 18, 2024 · 1 comment
Open

Add Example Custom Filter to Wiki #484

TheNferno opened this issue Jun 18, 2024 · 1 comment

Comments

@TheNferno
Copy link

I had asked for help on the MCA Magic Discord with the custom filters and @arvitus graciously helped me out and provided code for the filter to select chunks that had generated structures. I feel that this would be a useful filter for other so I thought it would be helpful to add it to the examples section in the wiki. The filter is region.get("structures").get("References").size() > 0

@TheNferno TheNferno changed the title Add Example Filter to WIki Add Example Custom Filter to Wiki Jun 18, 2024
@arvitus
Copy link
Contributor

arvitus commented Jun 19, 2024

It's also important to note that the filter will probably only work on certain mc versions as the chunk structure of mc changes regularly

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

No branches or pull requests

2 participants