Knockback immunity on explosion

Started by TrynaGames on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Knockback immunity on explosion

I have a weapon that explodes on the player on right click. The player is immune to explosions, but I have no way of making them immune to getting launched up and the weapon is meant to be rapidly clicked with my mana system. How might I remove the knockback with explosions? Along with that, I don't want the explosions to break blocks if possible.