Class Blob
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleEffect
com.pixelmonmod.pixelmon.client.particle.particles.Blob
-
Constructor Summary
ConstructorDescriptionBlob
(double random, double theta, double wu, double r, float red, float green, float blue, boolean white, int maxAge, int colorPattern, float scale) -
Method Summary
Modifier and TypeMethodDescriptionfloat
calcB
(int colorSpeed, int colorDeterminant) float
calcChangingColor
(int colorSpeed, int colorDeterminant) float
calcG
(int colorSpeed, int colorDeterminant) float
calcR
(int colorSpeed, int colorDeterminant) void
init
(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) void
preRender
(ParticleArcanery particle, float partialTicks) net.minecraft.resources.ResourceLocation
texture()
void
update
(ParticleArcanery particle) Methods inherited from class com.pixelmonmod.pixelmon.client.particle.ParticleEffect
customRenderer, postRender, render
-
Constructor Details
-
Blob
public Blob(double random, double theta, double wu, double r, float red, float green, float blue, boolean white, int maxAge, int colorPattern, float scale)
-
-
Method Details
-
preRender
- Overrides:
preRender
in classParticleEffect
-
init
public void init(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) - Specified by:
init
in classParticleEffect
-
update
- Specified by:
update
in classParticleEffect
-
calcChangingColor
public float calcChangingColor(int colorSpeed, int colorDeterminant) -
calcR
public float calcR(int colorSpeed, int colorDeterminant) -
calcG
public float calcG(int colorSpeed, int colorDeterminant) -
calcB
public float calcB(int colorSpeed, int colorDeterminant) -
texture
public net.minecraft.resources.ResourceLocation texture()- Specified by:
texture
in classParticleEffect
-