amount dependency on potion effect crashes game when trying to start

Started by cloudsven on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
amount dependency on potion effect crashes game when trying to start

I'm fairly new to MCreator and tried to make a potion effect that lowers your max health every time you take damage, and it lowers your max health by how much damage you got multiplied by the potion effects amplifier and other factors. But everytime I try to use the "amount" dependency the game can't start and I can't seem to be able to fix it.

(images)
https://imgur.com/a/mcreator-bug-neoforge-1-21-4-7Z4TIzr