Using the lingering potion effect with playeffect

Discuss any issues with Denizen-Bukkit scripts or functionality you may have while using it.
Post Reply
Goma_Terzu
User
User
Posts: 22
Joined: August 6th, 2016, 4:53 pm
Location: Germany
Contact:

Using the lingering potion effect with playeffect

Post by Goma_Terzu » November 7th, 2016, 1:46 pm

Hey there,

is there a way to use the lingering potion effect and choose it's color with the playeffect command? Is there somewhere a complete particle list that is kind of more usefull than the one we can get here http://one.denizenscript.com/denizen/ln ... %20effects

This list is incomplete and mixed with sound effects. What is the data value in the playeffect command even used for?

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 187
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Using the lingering potion effect with playeffect

Post by mcmonkey » November 7th, 2016, 4:05 pm

As far as we're aware, that's a very complete list.
The various arguments to play effect will affect how it looks.
EG the offset can spread it out, or sometimes change its speed or color, because mojang is very inconsistent with how effects work.
The data is one so random (and varying between effect types) it doesn't even have a name.

I think lingering potions are actually an entity rather than a server-trigger particle.
Denizen lead developer.
http://mcmonkey.org

Goma_Terzu
User
User
Posts: 22
Joined: August 6th, 2016, 4:53 pm
Location: Germany
Contact:

Re: Using the lingering potion effect with playeffect

Post by Goma_Terzu » November 8th, 2016, 2:09 am

I still have no idea how it works.Where can I see the correct arguments for each effect or the correct data?

As far as it comes to sounds, the list ist actually very incomplete.

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 187
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Using the lingering potion effect with playeffect

Post by mcmonkey » November 8th, 2016, 2:13 am

That's not all the sounds, just the playeffect-compatible sounds. The rest are in playsound.

And pretty much you gotta look through mojang code or a documentation page for mojang code to figure that out. Or... experiment, if you got the time for that.
Denizen lead developer.
http://mcmonkey.org

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest