Open KCodeYT opened 4 years ago
Additionally, you might get invulnerable to all damages when you are standing on a slime block, i think the if slime check should be inside the if damage cause is fall, I was going to test it yesterday but I ran out of time.
Entity Damaging: You cant damage entitys (not players) if you are standing 2 blocks or more away from them
I think I found the issue: (That was only a spare click, I guess attackTime isn't updating due to the entity not ticking)
Entity knockback: Player1 hits Player2 and Player2 is getting knockback in the same direction everytime even the Player1 isnt looking in the direction.
Entity Damaging: You cant damage entitys (not players) if you are standing 2 blocks or more away from them