create damage type resistance and weakness as potion effects

Started by I_like_rpg on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create damage type resistance and weakness as potion effects

there are many damage types in minecraft Magic damage, General damage, lava damage, etc...

how can i make for example a magic weakness potion that makes you take more magic damage?

 

thanks a lot