2024-12-12 13:00:57 +00:00

9 lines
372 B
MCFunction

item modify entity @s weapon.mainhand \
{\
function:set_components, \
components: {\
"!minecraft:custom_model_data": {} \
}\
}
title @s actionbar [{"text": "Custom Model Data ", "color": "green"},{"text": "removed", "color": "red"}]
execute at @s run playsound minecraft:entity.villager.work_cartographer player @s ~ ~ ~ 0.6 0.6