Class Blob
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleEffect
com.pixelmonmod.pixelmon.client.particle.particles.Blob
-
Constructor Summary
ConstructorsConstructorDescriptionBlob(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 TypeMethodDescriptionfloatcalcB(int colorSpeed, int colorDeterminant) floatcalcChangingColor(int colorSpeed, int colorDeterminant) floatcalcG(int colorSpeed, int colorDeterminant) floatcalcR(int colorSpeed, int colorDeterminant) voidinit(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) A function called byParticleArcanery'sconstructor.voidpreRender(ParticleArcanery particle, float partialTicks) Does rendering before therenderfunctions.net.minecraft.resources.ResourceLocationtexture()voidupdate(ParticleArcanery particle) A function called every tick byParticleArcanery.tick().Methods inherited from class com.pixelmonmod.pixelmon.client.particle.ParticleEffect
customRenderer, postRender, render, 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
Description copied from class:ParticleEffectDoes rendering before therenderfunctions.- Overrides:
preRenderin classParticleEffect- Parameters:
particle- An object representing a particle...?partialTicks- Rendering ticks between game ticks.
-
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) Description copied from class:ParticleEffectA function called byParticleArcanery'sconstructor.TODO: idk why this is needed when constructor's exist
- Specified by:
initin classParticleEffect- Parameters:
particle- An object representing a particle...?world- The Minecraft world.x- The x coordinate of the particle.y- The y coordinate of the particle.z- The z coordinate of the particle.vx- The x velocity of the particle.vy- The y velocity of the particle.vz- The z velocity of the particle.size- The size of the particle in the world.
-
update
Description copied from class:ParticleEffectA function called every tick byParticleArcanery.tick().TODO: Why the fuck isn't this just called tick
- Specified by:
updatein classParticleEffect- Parameters:
particle- An object representing a particle...?
-
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:
texturein classParticleEffect- Returns:
- The texture of the particle.
-