If you /give yourself an item with the death protection component and a use remainder component, the use remainder component will not be affected by the item disappearing after the death protection is triggered.
I am using this command to create a Netherite Sword with the death_protection component, as well as the use_remainder component set to return a normal netherite sword with no custom components:
/give @p netherite_sword[death_protection={},use_remainder={id:"minecraft:netherite_sword",count:1}] 1
Thank you for your report!
We are tracking this issue in MC-276619, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Invalid. Please take a look at the description and the comments section to see if an explanation was provided for why this issue is invalid.
If you havenβt already, please make use of the search feature to see whether an issue has already been reported.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki