Package hm.zelha.particlesfx.particles
Class ParticleDustMulticolored
java.lang.Object
hm.zelha.particlesfx.particles.parents.Particle
hm.zelha.particlesfx.particles.parents.ColorableParticle
hm.zelha.particlesfx.particles.ParticleDustColored
hm.zelha.particlesfx.particles.ParticleDustMulticolored
- All Implemented Interfaces:
IParticle,SizeableParticle
-
Field Summary
Fields inherited from class hm.zelha.particlesfx.particles.ParticleDustColored
pureColor, sizeFields inherited from class hm.zelha.particlesfx.particles.parents.ColorableParticle
brightness, color -
Constructor Summary
ConstructorsConstructorDescriptionParticleDustMulticolored(double size) ParticleDustMulticolored(double offsetX, double offsetY, double offsetZ) ParticleDustMulticolored(double size, double offsetX, double offsetY, double offsetZ) ParticleDustMulticolored(double size, double offsetX, double offsetY, double offsetZ, int count) ParticleDustMulticolored(double offsetX, double offsetY, double offsetZ, int count) ParticleDustMulticolored(int count) ParticleDustMulticolored(Color color) ParticleDustMulticolored(Color color, double size) ParticleDustMulticolored(Color color, double offsetX, double offsetY, double offsetZ) ParticleDustMulticolored(Color color, double size, double offsetX, double offsetY, double offsetZ, int count) ParticleDustMulticolored(Color color, double offsetX, double offsetY, double offsetZ, int count) ParticleDustMulticolored(Color color, double size, int count) -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voiddisplay(org.bukkit.Location location, List<org.bukkit.craftbukkit.v1_20_R3.entity.CraftPlayer> players) protected org.bukkit.util.VectorgetOffsets(org.bukkit.Location location) Meant to be overridden by child classes to modify the offset values of the packet sent to the player.protected intMeant to be overridden by child classes to modify the count value of the packet sent to the player.protected floatMeant to be overridden by child classes to modify the speed value of the packet sent to the player.protected org.bukkit.util.VectorgetXYZ(org.bukkit.Location location) Meant to be overridden by child classes to modify the X/Y/Z values of the packet sent to the player.setTransitionColor(Color transition) Methods inherited from class hm.zelha.particlesfx.particles.ParticleDustColored
getBrightness, getSize, isPureColor, setBrightness, setPureColor, setSizeMethods inherited from class hm.zelha.particlesfx.particles.parents.ColorableParticle
getColor, setColor, setColorMethods inherited from class hm.zelha.particlesfx.particles.parents.Particle
display, displayForPlayers, displayForPlayers, generateFakeOffset, getCount, getOffsetX, getOffsetY, getOffsetZ, getRadius, getSpeed, getStrangePacket, 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, setSpeedMethods inherited from interface hm.zelha.particlesfx.particles.parents.SizeableParticle
getSize, setSize
-
Constructor Details
-
ParticleDustMulticolored
public ParticleDustMulticolored(@Nullable Color color, double size, double offsetX, double offsetY, double offsetZ, int count) -
ParticleDustMulticolored
public ParticleDustMulticolored(double size, double offsetX, double offsetY, double offsetZ, int count) -
ParticleDustMulticolored
public ParticleDustMulticolored(@Nullable Color color, double offsetX, double offsetY, double offsetZ, int count) -
ParticleDustMulticolored
public ParticleDustMulticolored(double offsetX, double offsetY, double offsetZ, int count) -
ParticleDustMulticolored
public ParticleDustMulticolored(@Nullable Color color, double offsetX, double offsetY, double offsetZ) -
ParticleDustMulticolored
public ParticleDustMulticolored(double size, double offsetX, double offsetY, double offsetZ) -
ParticleDustMulticolored
public ParticleDustMulticolored(double offsetX, double offsetY, double offsetZ) -
ParticleDustMulticolored
-
ParticleDustMulticolored
-
ParticleDustMulticolored
-
ParticleDustMulticolored
public ParticleDustMulticolored(int count) -
ParticleDustMulticolored
public ParticleDustMulticolored(double size) -
ParticleDustMulticolored
public ParticleDustMulticolored()
-
-
Method Details
-
inherit
- Specified by:
inheritin interfaceIParticle- Specified by:
inheritin interfaceSizeableParticle- Overrides:
inheritin classParticleDustColored- Parameters:
particle- particle for this object to copy data from- Returns:
- this object
-
clone
- Specified by:
clonein interfaceIParticle- Specified by:
clonein interfaceSizeableParticle- Overrides:
clonein classParticleDustColored
-
display
protected void display(org.bukkit.Location location, List<org.bukkit.craftbukkit.v1_20_R3.entity.CraftPlayer> players) - Overrides:
displayin classParticleDustColored
-
getXYZ
protected org.bukkit.util.Vector getXYZ(org.bukkit.Location location) Description copied from class:ParticleMeant to be overridden by child classes to modify the X/Y/Z values of the packet sent to the player.- Overrides:
getXYZin classParticleDustColored- Parameters:
location- the location passed into the display method- Returns:
- the xyzHelper with the modified X/Y/Z values
-
getOffsets
protected org.bukkit.util.Vector getOffsets(org.bukkit.Location location) Description copied from class:ParticleMeant to be overridden by child classes to modify the offset values of the packet sent to the player.- Overrides:
getOffsetsin classParticleDustColored- Parameters:
location- the location passed into the display method- Returns:
- the offsetHelper with the modified offset values
-
getPacketSpeed
protected float getPacketSpeed()Description copied from class:ParticleMeant to be overridden by child classes to modify the speed value of the packet sent to the player.- Overrides:
getPacketSpeedin classParticleDustColored- Returns:
- the modified speed value
-
getPacketCount
protected int getPacketCount()Description copied from class:ParticleMeant to be overridden by child classes to modify the count value of the packet sent to the player.- Overrides:
getPacketCountin classParticleDustColored- Returns:
- the modified count value
-
setTransitionColor
- Parameters:
transition- the color this particle will transition to as it fades. doesn't work with pureColor
-
getTransitionColor
- Returns:
- the color this particle will transition to as it fades. doesn't work with pureColor
-