help with making an item that grants a custom potion effect that grants increased attributes

Started by notduc on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help with making an item that grants a custom potion effect that grants increased attributes

Basically when you have the item in your inventroy it increases stats

i did this by giving a potion effect that resets while in inventory

however the potion effect increases/decreases stats using the effect applied/ended events

so whenever i increase max health it just resets

if there is a way to extend but not reset potion effects OR a better way to do this id appreciate it

(using Set the base value of attribute xyz blocks)