Automatic Effect Saving

Started by WhiteGolem1080 on

Topic category: Help with MCreator software

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Automatic Effect Saving

Hello! I'm currently working on a mod and want to add an item that saves any and all potion effects the player has including their amplifier and duration.

I would like to know if there is a way to make the code go through every effect the player automatically has rather than having to write functions for each effect individualy?

Thank you in advance!

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately, MCreator isn…
Sat, 10/25/2025 - 21:04

Unfortunately, MCreator isn't too great with getting things like enchantments and potion effects procedurally. Without any plugins (not that I know of any) or custom code, I don't believe this is possible