-
Notifications
You must be signed in to change notification settings - Fork 12
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
Item requirement #71
Comments
It is possible. Please refer to the |
Hello!! So, after some reading I was able to make what I wanted. But I still don't know how I deduct 3 of each item. My intention is run the command only if the player have 3 ${aliases.ncxdragon} and 3 ${aliases.ncxflying} on inventory. Slot15 = ${aliases.uncxdrafly} {
PrimaryAction = [{
Command = "cost-item: 3; console: crates give uncxdrafly %player_name% 1"
HandheldItem = ${aliases.ncxdragon}
KeepInventoryOpen = true
}, {
Command = "cost-item: 3; console: crates give uncxdrafly %player_name% 1"
HandheldItem = ${aliases.ncxflying}
KeepInventoryOpen = true
}]
SecondaryAction = [{
Command = "cost-item: 3; console: crates give uncxdrafly %player_name% 1"
HandheldItem = ${aliases.ncxdragon}
KeepInventoryOpen = true
}, {
Command = "cost-item: 3; console: crates give uncxdrafly %player_name% 1"
HandheldItem = ${aliases.ncxflying}
KeepInventoryOpen = true
}]
} |
Well, the current design of VirtualChest does not support the simultaneous deduction of two types of items, because a player can only hold an item stack of one type (under the mouse pointer) to submit an action. |
Oh... ok :/ |
if using SearchInventory = true would that remove the requirement of being handheld? |
Yes, maybe ustc-zzzz forgot about the 'SearchInventory'. |
Doesn't seem to function unfortunately.. seems even with I would love it if multiple item costs could be added however. it could completely replace the crafting system with something far less restricting if you did. |
Close this issue because it seems that @hellbringer616 has submitted a new issue (#74) for this. |
Hello!! In this example is possible change the economy requirement to some item requirement ?
I want to change the wheat cost to 2 iron bars and 2 gold bars with specific nbtData (Name and lore). If its possible, could you show an example ?
The text was updated successfully, but these errors were encountered: