Started by
azuraaishun
on
Topic category: Help with Minecraft modding (Java Edition)
im making a mod where you can give weapons 2 part effects, a trigger and a result. you can mix and match the trigger and result. one of the triggers is every nth time you attack using the weapon, depending on the enchantment level.
ive tested it and it doesn't work right. it keeps immediately skipping over to "condition requirements not met"
Edited by azuraaishun on Wed, 02/26/2025 - 22:29
Try printing out the value of nbt to see what is happening.
Keep in mind entity NBT is not synced, so using something like "saved synced data" would be much more wise