Help with dealing knockback to players using a shield

Started by GipBimple on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with dealing knockback to players using a shield
Sun, 01/18/2026 - 00:23 (edited)

so im currently trying to make it so that the player gets launched by certain attacks if they try to block them with a shield, but i cant quite get it to work. this is what i have currently. https://imgur.com/a/BJCXaDi 

i found that cancelling the global trigger made the player take the knockback, but that's because it completely disregarded the shield being up to begin with so the player takes all the damage and the shield doesn't do its animation. 

does anyone know how to prevent the shield from cancelling all motion vector overrides, or have another workaround that can get me to launch the player back?

Edited by GipBimple on Sun, 01/18/2026 - 00:23