Started by
TrynaGames
on
Topic category: Help with Minecraft modding (Java Edition)
A bit hard to explain, but I have an enchantment that is supposed to deal extra damage to an attacked entity and swing the players main hand. However it does neither.
What its supposed to look like: https://ibb.co/dw0Hnqy9
you can't damage a mob while it's invulnerable, just after being attacked. You probably don't see the arm swinging again because this trigger is called the same tick you click the mob
Thank you for telling! I added a wait function for just a second and it worked perfectly after that!