Started by
Electroman
on
Topic category: Help with Minecraft modding (Java Edition)
I am making an enchantment that knocks the enemy back based on player XP, however, the "push" block doesn't seem to effect the Y velocity of entities like zombified piglins, but it does knockback entities like large slimes or wardens. Here is my code: https://imgur.com/a/vYYeHEz, also, ignore all the complicated math, that is for making the knockback plateau to prevent infinite growth.