#Mob/Boss HP regain
17 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
1.16 o boi
so for some pointers:
you can use the entity death event to see when a player died and who/what caused the damage: https://github1s.com/KubeJS-Mods/KubeJS/blob/eol/1.16/common/src/main/java/dev/latvian/kubejs/entity/LivingEntityDeathEventJS.java
You can find online JavaDocs for **Forge **and Fabric by clicking the button.
If you want to see classes added by Minecraft, choose Forge.
If the page doesn't load, click the "Status" button or ping @small owl.
hm my website seems to have some issue with finding the damage source class
mhm ic, anything related to regen if nothing is being targeted?
you mean when its not in combat?
yeah
i dont know of something like that, not sure how to see that... kjs definitely cant handle it so if its even possible, it would be through forge events, which gets a lot more complicated
it would have to be something that checks the boss' AI, and ive never done that before, nor looked into AI related stuff
oh, seems kinda complicated
the death thing when it kills a player should be pretty simple
a couple lines
gonna fix my website while im at it, weird that nobody reported issues with it
@thin escarp Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!