9 lines
372 B
MCFunction
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 |