Class Electric
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleEffect
com.pixelmonmod.pixelmon.client.particle.particles.Electric
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinit(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size) voidrender(com.mojang.blaze3d.vertex.PoseStack matrix, ParticleArcanery particle, com.mojang.blaze3d.vertex.Tesselator tesselator, net.minecraft.client.renderer.MultiBufferSource.BufferSource bufferSource, float partialTicks) net.minecraft.resources.ResourceLocationtexture()voidupdate(ParticleArcanery particle) Methods inherited from class com.pixelmonmod.pixelmon.client.particle.ParticleEffect
postRender, preRender, render
-
Constructor Details
-
Electric
public Electric(int age, boolean parent, float pitch, float yaw, float velocity, float inaccuracy, float r, float g, float b) -
Electric
public Electric(int age, boolean parent, float pitch, float yaw, float velocity, float inaccuracy, float r, float g, float b, float a)
-
-
Method Details
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack matrix, ParticleArcanery particle, com.mojang.blaze3d.vertex.Tesselator tesselator, net.minecraft.client.renderer.MultiBufferSource.BufferSource bufferSource, float partialTicks) - Overrides:
renderin classParticleEffect
-
customRenderer
public boolean customRenderer()- Overrides:
customRendererin 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:
initin classParticleEffect
-
update
- Specified by:
updatein classParticleEffect
-
texture
public net.minecraft.resources.ResourceLocation texture()- Specified by:
texturein classParticleEffect
-