I wrote quite a few functions for my datapack on armor set bonuses, and everything worked fine up until now? I don't know how to make tick or load files, but everything seemed to work without them, and it still does (at least only one of the sets - Snow Ruffian), but Desert Prowler seems to not work. I don't understand why it doesn't work while the Snow Ruffian one works perfectly, even though they are almost the same save for nbt data of armor. Is there some error in code or what? (Files attached in order: checking for set, giving the set bonus, repeatedly checking for set and removing bonus if not found, resetting scoreboard)
#Somehow nothing works as intended, while it did before
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1723848121: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
How are these functions being executed if not in a tick function?
I use repeating command block that is always active to run them, since I have absolutely no idea on how to use tick or load
Ah
Well, I'd first recommend learning to make a tick (and load, but less required) function, as that'll allow you to optimize these a lot more, which not only improves the performance but also makes troubleshooting easier. We have a guide that covers that
How to make a datapack
About
Guide on getting started with Minecraft datapacks
Ty, I'll try it out and see if it helps
My next question is what version of Minecraft is this for? Your attribute commands look out of date