Entity Pushing doesn't work

Started by Electroman on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 weeks ago
Joined May 2023
Points:
227

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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.