Make player immune to explosion and not take knockback when attacking enemy (FABRIC)

Started by TheOmniCat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make player immune to explosion and not take knockback when attacking enemy (FABRIC)

(Fwi: I do have fabric essentials enabled same with fabric generator whatever)

I can't figure out how to make the player immune to damage from explosion and immune from the explosions knockback. I am new to mcreator so yea, any help would be appreciated! (Also I don't want to use resistances)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
even without plugins, when u…
Tue, 01/23/2024 - 18:49

even without plugins, when u set imune to explosions on mcreator, it wont damage the entity, but will push it back, im trying to solve that problem too

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah i tried to do it by…
Sun, 02/11/2024 - 11:14

yeah i tried to do it by making entity immune to explosions and setting knockback reesistance to 1000, but it is still pushed by it