Started by
AppleMod
on
Topic category: Help with Minecraft modding (Java Edition)
I tried making a procedure that damages my custom fish entity take damage out of water, but no luck. I feel like it might be because that entity can only take damage certain ways? Please help ASAP
Can you provide a screenshot of your current procedure/s?
https://www.linkpicture.com/q/Screenshot-2022-06-22-170921.png
another problem is that it will wait 20 seconds, then take damage very quickly.
I mean with the procedure right now it just isn't taking damage.
So building off of what you have already, this should work as it deals damage every second, and can be changed by tweaking the wait times (changing either wait times should work). An issue with it is that 2 instances of damage will always be dealt every time it tries dealing damage - I can't figure this part out or why it happens, even when looking at the code. Someone else may be able to explain this? If there's any issue with the below procedure let me know.
The procedure is triggered by "On entity tick update" of the custom mobs "Triggers" page.
Thanks! I'll test it out as soon as I can