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!