Started by
vanilama
on
Topic category: Help with Minecraft modding (Java Edition)
i created a function in my 1.21.8 neoforge mod on mcreaotr 2026.1.14619 with the following commands:
problem is that any command other than the execute command works.
and i tried the execute commands inagme because maybe i typed it wrong. but it worked completly fine ingame.
# Enter the function code heresay Ability Usedexecute as @a[nbt={equipment:{feet:{id:"vs_mod_for_justaguy:opalarmor_boots"},legs:{id:"vs_mod_for_justaguy:opalarmor_leggings"},chest:{id:"vs_mod_for_justaguy:opalarmor_chestplate"},head:{id:"vs_mod_for_justaguy:opalarmor_helmet"}}}] run tag @s add Use_Opal_Sword_Abilityexecute as @a[nbt={equipment:{feet:{id:"vs_mod_for_justaguy:opalarmor_boots"},legs:{id:"vs_mod_for_justaguy:opalarmor_leggings"},chest:{id:"vs_mod_for_justaguy:opalarmor_chestplate"},head:{id:"vs_mod_for_justaguy:opalarmor_helmet"}}}] run playsound minecraft:entity.experience_orb.pickup master @a[tag=Use_Opal_Sword_Ability] ~ ~ ~ 100 0
it's already pretty late for me so if someone answers i'll probably see it tomorrow. currently its 10pm for me
no answer still?. well no one is required to answer but well