#why does minecraft not see break.mcfunction
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1748354373:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
look at the logs and it will tell you
letme enable them 1 sec
it's probably a syntax error or typo.
ok i got it working but the function doesnt do anything.. it should break the elytra when equipped but it doent
item modify entity @s armor.chest elytra:break
"function": "minecraft:set_damage",
"damage": {
"type": "minecraft:constant",
"value": 432
},
"add": false
}```
thats elytra:break.json
ok i got elytra break working
but i cant seem to get tick.mcfunction to work
execute as @a if data entity @s {Inventory:[{Slot:102b,id:"minecraft:elytra"}]} run item modify entity @s armor.chest elytra:break
Don't do a data check like that, use if items ... instead
/execute as @a if items entity @s armor.body minecraft:elytra run item modify entity @s armor.chest elytra:break doesnt seem to work
neither does /execute as @a if items entity @s armor.body minecraft:elytra run function elytra:break
You have armor.body instead of armor.chest
