I have an item that has CustomModelData, but also other properties. When I try to find an item with custommodeldata and other properties, it doesn't find it, but when I search for a clean item with custommodeldata, it finds it.
and if the item has other properties, such as:
custommodeldata:373751 &rlore:&7|&7Price: &e0.00 &4? &renchantments:minecraft:feather_falling:6 &renchanted:true &rnbt:NBTTagCompoundPublicBukkitValues:{"executableitems:ei-id":"wheat1","score:usage":-1}|INTEGER:CustomModelData:373751|INTEGER:HideFlags:1
then my script for some reason doesn't work(
this can find the item if I give it out like this: /give @r wheat{CustomModelData:373751} 1set {_wheatCount} to amount of wheat with custom model data 373751 in player's inventory
send "wheat: %{_wheatCount}%"
and if the item has other properties, such as:
custommodeldata:373751 &rlore:&7|&7Price: &e0.00 &4? &renchantments:minecraft:feather_falling:6 &renchanted:true &rnbt:NBTTagCompoundPublicBukkitValues:{"executableitems:ei-id":"wheat1","score:usage":-1}|INTEGER:CustomModelData:373751|INTEGER:HideFlags:1
then my script for some reason doesn't work(