How can I have two equal effects at the same time?

Started by a guy called l… on Sat, 01/16/2021 - 21:25

Topic category: Help with modding (Java Edition)

Last seen on 19:00, 27. Feb 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I have two equal effects at the same time?
Sat, 01/16/2021 - 21:25

Let me explain, I have healt boost II, and an item gives me healt boost I, is there a way to have both effects at the same time, instead of the II covering the I?

Last seen on 04:17, 27. Feb 2021
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
not possible to have 2 of…
Sun, 01/17/2021 - 04:05

not possible to have 2 of the same effects coexist together

do you mean add the effects together like health2 + health1 = health3 ?

Last seen on 19:00, 27. Feb 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Let's see, not as exact as…
Sun, 01/17/2021 - 11:49

Let's see, not as exact as that, but I'd be interested to know how (although I think I know that it is with variables and that the effect is the level of the variable) although could you please explain to know if I'm wrong about something

Last seen on 04:17, 27. Feb 2021
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you want to add to the…
Wed, 01/27/2021 - 18:41

if you want to add to the current existing effect, you would need to get the amplification of the current existing effect, and then add new effect with amplification+x