Entity Pushing doesn't work

Started by Electroman on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Pushing doesn't work

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.