A
Admincraft6mo ago
Tizo

using /data command to remove specific nbt from a item im holding

Hey! i have s sword with nbt data which i want to remove using the /data command. how could i do this? i want to remove the custom_data section (marked red) NBT:
minecraft:netherite_sword[lore=['{"extra":[{"bold":false,"color":"dark_purple","italic":false,"obfuscated":false,"strikethrough":false,"text":"Seelengebunden III","underlined":false}],"text":""}'],enchantments={levels: {"minecraft:soulbound": 1}},
- custom_data={PublicBukkitValues: {"advancedenchantments:ae_enchantment-seelengebunden": 3, "advancedenchantments:slots": 1}}
]

+original nbt:
minecraft:netherite_sword[lore=['{"extra":[{"bold":false,"color":"dark_purple","italic":false,"obfuscated":false,"strikethrough":false,"text":"Seelengebunden III","underlined":false}],"text":""}'],enchantments={levels: {"minecraft:soulbound": 1}},custom_data={PublicBukkitValues: {"advancedenchantments:ae_enchantment-seelengebunden": 3, "advancedenchantments:slots": 1}}]
minecraft:netherite_sword[lore=['{"extra":[{"bold":false,"color":"dark_purple","italic":false,"obfuscated":false,"strikethrough":false,"text":"Seelengebunden III","underlined":false}],"text":""}'],enchantments={levels: {"minecraft:soulbound": 1}},
- custom_data={PublicBukkitValues: {"advancedenchantments:ae_enchantment-seelengebunden": 3, "advancedenchantments:slots": 1}}
]

+original nbt:
minecraft:netherite_sword[lore=['{"extra":[{"bold":false,"color":"dark_purple","italic":false,"obfuscated":false,"strikethrough":false,"text":"Seelengebunden III","underlined":false}],"text":""}'],enchantments={levels: {"minecraft:soulbound": 1}},custom_data={PublicBukkitValues: {"advancedenchantments:ae_enchantment-seelengebunden": 3, "advancedenchantments:slots": 1}}]
3 Replies
Admincraft Meta
Admincraft Meta6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by tizooo#0
Tizo
TizoOP6mo ago
a asked chatgpt he told me /data remove entity @s Item.tag.custom_data but this has no effect also tried to figure it out using the wiki but i dont understand anything there !solved
Admincraft Meta
Admincraft Meta6mo ago
post closed!
The post/thread has been closed!
Requested by tizooo#0

Did you find this page helpful?