Loot table NBT not applying custom item pickup time or item life when dropped from custom mob spawn.
Custom name and name colour work fine but changing the item pickup and despawn/life timer defaults to normal when dropped from mob.
Summoned item with the following command works:
/summon Item ~ ~1 ~ {Tags:["Token","Zombie_Token"],Item:{id:gold_nugget,Count:1,tag:{display:{Name:"§6Zombie Token§r"}}},Age:-32768,PickupDelay:32767}
Using following set_nbt function only works with name:
{
"function": "set_nbt",
"tag": "{Tags:[Token,Zombie_Token],display:{Name:\"§6Zombie Token§r\"},Age:-32768,PickupDelay:32767}"
}
Invalid : Tags are applying just fine on the item, what you are trying to do is applying tags on the entity item.