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

chore: improve datapack update by testing NamespaceFileType #457

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

edayot
Copy link
Contributor

@edayot edayot commented Dec 14, 2024

This PR adds somes worldgen specific namespaces and a new test.

The new test improve beet update when mojang adds a new folder (recently the items folder). It's checking that when loading the vanilla resouce pack and data pack there is no unknown files.

I'm not sure that it's the good way of doing it thought.

@edayot edayot marked this pull request as ready for review December 14, 2024 18:26
def test_namespaces():
# Test that all namespaces are known
# It loads the vanilla jar and checks
# that there are no unknown namespaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be named test_scopes? Vanilla only has one namespace (minecraft)

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

Successfully merging this pull request may close these issues.

2 participants