#Deluxemenus has item/checkitem

1 messages · Page 1 of 1 (latest)

gray pewter
#

I am trying to make it so that deluxemenus runs the following click commands but through the players inventory requirement.
Specifically having the requirement has a specific pixelmon sprite
I tried using NBT tags such as when putting them in as the material, however I noticed they don't work the same.
I believe I might have to use the check item placeholders but don't quite understand them yet

items:

'Bulbasaur':
material: pixelmon_pixelmon_sprite
nbt_ints:
- 'ndex:1'
- 'gender:0'
nbt_strings:
- 'palette:none'
- 'form:'
slot: 10
display_name: '&d&lBulbasaur'
enchantments:
- DURABILITY;1
hide_enchantments: true
lore:
- 'Trade in your picture for money!'
left_click_requirement:
requirements:
has_item:
type: has item
material: 'PIXELMON_PIXELMON_SPRITE'
amount: 1
deny_commands:
- '[message] &cyou do not have bulba.'
left_click_commands:
- '[console] minecraft:clear %player_name% pixelmon:pixelmon_sprite{ndex:1s,palette:none,form:'''',gender:0b} 1'
- '[console] minecraft:clear %player_name% pixelmon:pixelmon_sprite{ndex:1s,palette:none,form:'''',gender:1b} 1'
- '[console] money give %player_name% 1'
- '[message] &ayay money!'

robust mesa
finite garnet
#

I'd recommend using a paste website for sharing any configs you have