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

Requirement for Inventory Item #122

Open
MageFX opened this issue Jan 10, 2021 · 1 comment
Open

Requirement for Inventory Item #122

MageFX opened this issue Jan 10, 2021 · 1 comment

Comments

@MageFX
Copy link

MageFX commented Jan 10, 2021

Is it possible to set a "Requirements=" to an Inventory Item. Not as a cost but as an actually Requirement to progress up without the need to click to apply it?.

Example :

	Requirements = "player.hasItem && player.hasPermission('test.perm')"
            HandheldItem {
                SearchInventory = true
                ItemType = "minecraft:stone"
                UnsafeDamage = 0
                Count = 1
            }
@MageFX
Copy link
Author

MageFX commented Jan 10, 2021

In addition is it also not possible to have multiple HandheldItems as a cost for a action?

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