mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-02 11:21:20 +01:00
You can now change the particle and particle color for lute attacks.
A stat called "Projectile Particles" has been added for this purpose. ``` You may use any particle provided by Spigot. A list of available particles can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html In addition to being able to change the particle, you can also change the color of certain particles. REDSTONE, SPELL_MOB, SPELL_MOB_AMBIENT, and NOTE can all change colors. REDSTONE, SPELL_MOB, and SPELL_MOB_AMBIENT can use any RGB color. If selecting one of these particles, you must also provide a color. For example: SPELL_MOB 255 255 0 NOTE particles are unique and instead require a single value between 1 and 24 for their color. For example: NOTE 16 ``` This functionality may be extended to other weapons such as muskets and whips in the future.
This commit is contained in:
parent
ee43a26ae3
commit
954fbf988f
@ -30,6 +30,11 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Projectile Particles are the particles fired in place of a projectile for certain weapons such as the Lute, Musket, or Whip [WIP]
|
||||||
|
* @author Kasprr
|
||||||
|
*/
|
||||||
|
|
||||||
public class ProjectileParticles extends StringStat {
|
public class ProjectileParticles extends StringStat {
|
||||||
public ProjectileParticles() {
|
public ProjectileParticles() {
|
||||||
super("PROJECTILE_PARTICLES", VersionMaterial.LIME_STAINED_GLASS.toMaterial(), "Projectile Particles",
|
super("PROJECTILE_PARTICLES", VersionMaterial.LIME_STAINED_GLASS.toMaterial(), "Projectile Particles",
|
||||||
|
Loading…
Reference in New Issue
Block a user