Package hm.zelha.particlesfx.particles
Class ParticleTintedLeaves
java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.ParticleTintedLeaves
- All Implemented Interfaces:
ColorableParticle,IParticle
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionParticleTintedLeaves(double offsetX, double offsetY, double offsetZ) ParticleTintedLeaves(double offsetX, double offsetY, double offsetZ, int count) ParticleTintedLeaves(int count) ParticleTintedLeaves(Color color) ParticleTintedLeaves(Color color, double offsetX, double offsetY, double offsetZ) ParticleTintedLeaves(Color color, double offsetX, double offsetY, double offsetZ, int count) ParticleTintedLeaves(Color color, int count) -
Method Summary
Methods inherited from class hm.zelha.particlesfx.particles.parents.Particle
display, displayForPlayers, displayForPlayers, generateFakeOffset, getCount, getOffsets, getOffsetX, getOffsetY, getOffsetZ, getPacketCount, getPacketSpeed, getRadius, getSpeed, getStrangePacket, getXYZ, setCount, setOffset, setOffsetX, setOffsetY, setOffsetZ, setRadius, setSpeedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hm.zelha.particlesfx.particles.parents.IParticle
display, displayForPlayers, displayForPlayers, getCount, getOffsetX, getOffsetY, getOffsetZ, getRadius, getSpeed, setCount, setOffset, setOffsetX, setOffsetY, setOffsetZ, setRadius, setSpeed
-
Field Details
-
color
-
-
Constructor Details
-
ParticleTintedLeaves
public ParticleTintedLeaves(@Nullable Color color, double offsetX, double offsetY, double offsetZ, int count) -
ParticleTintedLeaves
-
ParticleTintedLeaves
-
ParticleTintedLeaves
public ParticleTintedLeaves(double offsetX, double offsetY, double offsetZ, int count) -
ParticleTintedLeaves
public ParticleTintedLeaves(double offsetX, double offsetY, double offsetZ) -
ParticleTintedLeaves
-
ParticleTintedLeaves
public ParticleTintedLeaves(int count) -
ParticleTintedLeaves
public ParticleTintedLeaves()
-
-
Method Details
-
inherit
-
clone
-
display
protected void display(org.bukkit.Location location, List<org.bukkit.craftbukkit.v1_21_R4.entity.CraftPlayer> players) -
setColor
- Specified by:
setColorin interfaceColorableParticle- Parameters:
color- color to set, null if you want random coloring
-
setColor
public void setColor(int red, int green, int blue) - Specified by:
setColorin interfaceColorableParticle
-
getColor
Description copied from interface:ColorableParticlenullable to allow for randomly colored particles without being complicated- Specified by:
getColorin interfaceColorableParticle- Returns:
- color this particle is using
-