Progressive potion effects

Started by Gordon CMB on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Progressive potion effects

Hey-a, I'm still new to this modding scene, and I've been trying to implement this thingy for quite a while, without much luck, so I thought I'd ask here

What I'm trying to do, is to grant the player several effects in succession, one after the other, while drinking the same potion
It goes as follows:
Effect A level 1 -> Effect A level 2 -> Effect B -> Effect C
So far, the procedure works fine up until giving you the Effect B, drinking the potion again just does nothing, the last section just refuses to trigger apparently. I've tried numerous solutions but wasn't able to fix the problem. If I remove the Effect B section, it will give you Effect C after drinking the potion, but that's not quite what I want, and I'm fairly certain it is possible to keep the "scheme" intact, I just don't know what's causing the Effect C not to trigger after receiving Effect B

I have the procedure exported here if you want to take a look at it: https://mega.nz/file/EHwSUBRR#9XgqVQmGV4aRuImjpCzeh462lVPzl3JxRJYT2FigghA
It does feature custom potion effects, but you can probably replace them with vanilla effects for testing purposes

I'd be really grateful if someone finds a solution to this problem!

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry but can I ask you what…
Sat, 06/11/2022 - 03:32

Sorry but can I ask you what gobal trigger you used? Is this a potion item or just an item in general? If you can, you could screenshot the workspace or the element too. I would appreciate it a lots.

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Apologies, I didn't notice…
Sat, 06/18/2022 - 09:10

Apologies, I didn't notice the reply earlier

This is just an item that applies an effect upon using it. The workspace is pretty much cluttered by all sorts of stuff, I will screenshot the relevant part though 

For the potion, I actually plan to use several other potions with this "mechanic" in mind, so, on `Player Finishes Using The Item` I simply call for the required procedure, but the required procedure is kind of a big one, and it looked weird on a screenshot, hence I uploaded it here in PTPL form... Anyways, here 

There is no additional trigger for neither

(apologies for the clutter once again, for some reason the website didn't let me reply when I linked the images)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Holy, this actually worked!…
Sun, 06/19/2022 - 09:11

Holy, this actually worked!

Thank you so much, pal! Really appreciate it!