
Upgrading make_effect()
LadyCailinBot opened this issue ยท 4 comments
CMDHELPER-2927 - Reported by Plancke
make_effect() has a few of the particle effects minecraft uses but there are many more in Bukkit that aren't accessible. For example, block break particles for each block, enchantment table letters effect, music notes, ...
Comment by PseudoKnight
make_effect() uses a very limited set of bukkit effects. You can see the list here:
http://jd.bukkit.org/dev/apidocs/org/bukkit/Effect.html
There is nothing missing in CommandHelper's make_effect() function that I can think of.
A particle API has not been added yet in Bukkit, but is accessible in Spigot and contains much of what you're talking about. I use an extension to get access to these since CH doesn't build off of Spigot.
Comment by Plancke
What extension do you use? I'd like to access these things.
Comment by PseudoKnight
I wrote my own. It's nothing fancy, but you can get it here:
https://github.com/PseudoKnight/CHSpigot/
Comment by PseudoKnight
make_effect() should now support this full list of effects on Spigot 1.8:
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html