Package net.minecraft.client.particle
Class RisingParticle
- java.lang.Object
-
- net.minecraft.client.particle.Particle
-
- net.minecraft.client.particle.TexturedParticle
-
- net.minecraft.client.particle.SpriteTexturedParticle
-
- net.minecraft.client.particle.RisingParticle
-
- Direct Known Subclasses:
AshParticle
,SmokeParticle
,WhiteAshParticle
public class RisingParticle extends SpriteTexturedParticle
-
-
Field Summary
Fields Modifier and Type Field Description private double
fallSpeed
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 protected
RisingParticle(ClientWorld p_i232345_1_, double p_i232345_2_, double p_i232345_4_, double p_i232345_6_, float p_i232345_8_, float p_i232345_9_, float p_i232345_10_, double p_i232345_11_, double p_i232345_13_, double p_i232345_15_, float p_i232345_17_, IAnimatedSprite p_i232345_18_, float p_i232345_19_, int p_i232345_20_, double p_i232345_21_, boolean p_i232345_23_)
-
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
-
fallSpeed
private final double fallSpeed
-
-
Constructor Detail
-
RisingParticle
protected RisingParticle(ClientWorld p_i232345_1_, double p_i232345_2_, double p_i232345_4_, double p_i232345_6_, float p_i232345_8_, float p_i232345_9_, float p_i232345_10_, double p_i232345_11_, double p_i232345_13_, double p_i232345_15_, float p_i232345_17_, IAnimatedSprite p_i232345_18_, float p_i232345_19_, int p_i232345_20_, double p_i232345_21_, boolean p_i232345_23_)
-
-
Method Detail
-
getRenderType
public IParticleRenderType getRenderType()
- Specified by:
getRenderType
in classParticle
-
getQuadSize
public float getQuadSize(float p_217561_1_)
- Overrides:
getQuadSize
in classTexturedParticle
-
-