This commit is contained in:
2024-12-12 13:00:57 +00:00
commit 1f861cba2b
11 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
$item modify entity @s weapon.mainhand \
{\
function:set_components, \
components: {\
"minecraft:custom_model_data": { "strings": [ $(Model) ] } \
}\
}
$title @s actionbar [{"text": "Set Custom Model Data to ", "color": "green"},{"text": "$(Model)", "color": "aqua"}]
execute at @s run playsound minecraft:entity.villager.work_cartographer player @s ~ ~ ~ 0.6 0.6