create damage type resistance and weakness as potion effects

Started by I_like_rpg on

Topic category: Help with modding (Java Edition)

Last seen on 14:37, 20. Aug 2023
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