use_remainder component doesnt give item back when totem of undying triggers.
/give @s player_head[profile=card_dragonmad,death_protection={death_effects:[{type:teleport_randomly,diameter:64}]},use_remainder={id:diamond,count:1}]
i want a custom totem returns a diamond after used, but it doesnt work for me.
Thank you for your report!
We're tracking this issue in MC-276619, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki