Started by
Bann__
on
Topic category: Help with Minecraft modding (Java Edition)
I am building an point resource system that replenishes some after killing an entity. On the first kill it replenishes some but on the second kill and beyond the procedure does not seem to be triggered. I dont know if it is just not being reflected in the ui element that displays the points. Here are photos of the relevant code: https://imgur.com/a/ujf67Fs
Edited by Bann__ on Wed, 10/16/2024 - 02:43
This probably isn't it but these are supposed to be source entity aren't they?
Yes they are supposed to be source entities. I was just holding off on changing those until i got the non-boss entities to work properly. I might try playing with that to see if that fixes it.
Can you try just putting a send message to all players block at the start of every check to see where it fails, or even better use the debug markers.
so the procedure works but it seems the gauge still is not updating. Could it be connected to the return value?
I have figured it out i was setting the ability points to what i was trying to add