How do i create and are cloud of a custom potion effect?

Started by FoguDev on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
How do i create and are cloud of a custom potion effect?

Hello,

so as said in the title, i've got a potion effect i want to turn into a lingering cloud once a certain projectile hits the floor, ive got the projectile part figured out but cannot find any way to spawn a cloud of the potion effect...

could any of you help me please?

Active 2 years ago
Joined Oct 2022
Points:
399

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
Maybe this will work
Tue, 12/06/2022 - 15:24

Maybe this will work

image.png

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
The image don't work…
Tue, 12/06/2022 - 17:22

The image don't work... could you please repost?

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
I'll try it, thanks!
Tue, 12/06/2022 - 17:52

I'll try it, thanks!

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
It isn't working...
Tue, 12/06/2022 - 18:02

It isn't working...

Active 2 years ago
Joined Oct 2022
Points:
399

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
Are you making it happen…
Tue, 12/06/2022 - 18:04

Are you making it happen when the projectile collides with a block?

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
Wait no, it spawns the…
Tue, 12/06/2022 - 18:06

Wait no, it spawns the particles they're just too little, im going to pump the particle number up and see if that makes its work

Active 2 years ago
Joined Oct 2022
Points:
399

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
do you get the effect when…
Tue, 12/06/2022 - 18:09

do you get the effect when you stand in the area?

i don't think the effect will linger but i can try to help with that if you wan't

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
I can see the particles and…
Tue, 12/06/2022 - 18:09

I can see the particles and walk through them but the effect isn't applied at all...

Active 2 years ago
Joined Oct 2022
Points:
399

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
Try making the projectile…
Tue, 12/06/2022 - 18:15

Try making the projectile hit the same block that you are standing in

Let me know what happens

Active 2 years ago
Joined Dec 2022
Points:
333

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
Same thing, they appear but…
Tue, 12/06/2022 - 18:17

Same thing, they appear but no effect is applied

Active 2 years ago
Joined Oct 2022
Points:
399

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
I'm not sure how to fix it
Tue, 12/06/2022 - 18:31

I'm not sure how to fix it

Active 7 months ago
Joined Jan 2023
Points:
377

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 68
I know. You have to make…
Tue, 05/23/2023 - 18:03

I know. You have to make something like :

x-0.1 < x pos of event/target entity < x+0.1

Active 7 months ago
Joined Jan 2023
Points:
377

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 68
I'm making a gas grenade. If…
Tue, 05/23/2023 - 18:04

I'm making a gas grenade. If it works, I'll paste my code here to help.