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

multiple requirememnts #784

Open
Diefelix opened this issue Apr 7, 2021 · 0 comments
Open

multiple requirememnts #784

Diefelix opened this issue Apr 7, 2021 · 0 comments

Comments

@Diefelix
Copy link

Diefelix commented Apr 7, 2021

If i were to make a path with multiple requirements for items, for example, i want the person to gather 4 different materials, like wood, stone, gravel and iron, would the code be like this?

Master:
prerequisites:
in group:
value: 'bedrock'
requirements:
time:
value: '130h'
has item:
value: 'COAL;15'
has item:
value: 'GRAVEL;30'
has item:
value: 'IRON_INGOT;30'
has item:
value: 'OAK_LOG;45'
results:
command:
value: 'lp user &p parent set master'

I know the question might sound stupid because it's all listed in the wiki, but i was still in huge doubt because it only mentions the functionality of the requirements for each node and not how to apply them on the requirements page.

And can i put the integers over 64, or is it limited to be just 64?

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

1 participant