Package net.minecraft.client.particle
Class RedstoneParticle
- java.lang.Object
-
- net.minecraft.client.particle.Particle
-
- net.minecraft.client.particle.TexturedParticle
-
- net.minecraft.client.particle.SpriteTexturedParticle
-
- net.minecraft.client.particle.RedstoneParticle
-
public class RedstoneParticle extends SpriteTexturedParticle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RedstoneParticle.Factory
-
Field Summary
Fields Modifier and Type Field Description private IAnimatedSprite
sprites
-
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
-
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RedstoneParticle(ClientWorld p_i232378_1_, double p_i232378_2_, double p_i232378_4_, double p_i232378_6_, double p_i232378_8_, double p_i232378_10_, double p_i232378_12_, RedstoneParticleData p_i232378_14_, IAnimatedSprite p_i232378_15_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getQuadSize(float p_217561_1_)
IParticleRenderType
getRenderType()
void
tick()
-
Methods inherited from class net.minecraft.client.particle.SpriteTexturedParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
-
Methods inherited from class net.minecraft.client.particle.TexturedParticle
render, scale
-
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setPos, setPower, setSize, shouldCull, toString
-
-
-
-
Field Detail
-
sprites
private final IAnimatedSprite sprites
-
-
Constructor Detail
-
RedstoneParticle
private RedstoneParticle(ClientWorld p_i232378_1_, double p_i232378_2_, double p_i232378_4_, double p_i232378_6_, double p_i232378_8_, double p_i232378_10_, double p_i232378_12_, RedstoneParticleData p_i232378_14_, IAnimatedSprite p_i232378_15_)
-
-
Method Detail
-
getRenderType
public IParticleRenderType getRenderType()
- Specified by:
getRenderType
in classParticle
-
getQuadSize
public float getQuadSize(float p_217561_1_)
- Overrides:
getQuadSize
in classTexturedParticle
-
-