Hello everyone,
I have a question : Does the AI change the image displayed on the taskbar depending on the number of items in a stack?
I'm attaching a gif to my message that shows the items that change depending on the number

I'm adding a configuration file that I saw in a texture pack, which does this sort of thing, but I'd like to integrate it into AI if possible.
matchItems=minecraft:gold_nugget
stackSize=1
tile=1
nbt.display.Name=ipattern:*gold coin*
I saw this on the Optifine documents, and it's not far from what I'd like :
https://optifine.readthedocs.io/cit.html#stacked-coins

Thanks in advance