Custom Item Predicate?
I have a custom item that is created and all is working fine.
Continue to help postexecute if data storage cust_loot:values {rand: 1 } run give @s minecraft:player_head[minecraft:item_name='{"text":"Plushie #0001","color":"white"}',profile={id:[I;-1143981461,1067077518,-1346646829,972713079],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjhhNDEzOGZkYmJiMjgwOTdkYzVkY2ZjM2Y4ODE5MjVlZGE5NjhjNjI3NGUxNjlkYzgyZWVkZTYzMzZmNSJ9fX0="}]}] 1
what i want to know is can i run a command that is more like
run give @s cust_loot:plushie_01
and it gives the user the item with the above values.
minecraft:player_head[minecraft:item_name='{"text":"Plushie #0001","color":"white"}',profile={id:[I;-1143981461,1067077518,-1346646829,972713079],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjhhNDEzOGZkYmJiMjgwOTdkYzVkY2ZjM2Y4ODE5MjVlZGE5NjhjNjI3NGUxNjlkYzgyZWVkZTYzMzZmNSJ9fX0="}]}]
I assume we could do a check with predicates based on item name or soemthing but i'm not sure where to start any specific packs someone knows about that does this method if it's even possible?