Package net.minecraft.client.particle
Class DiggingParticle
- java.lang.Object
-
- net.minecraft.client.particle.Particle
-
- net.minecraft.client.particle.TexturedParticle
-
- net.minecraft.client.particle.SpriteTexturedParticle
-
- net.minecraft.client.particle.DiggingParticle
-
public class DiggingParticle extends SpriteTexturedParticle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiggingParticle.Factory
-
Field Summary
Fields Modifier and Type Field Description private BlockState
blockState
private BlockPos
pos
private float
uo
private float
vo
-
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
-
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
-
Constructor Summary
Constructors Constructor Description DiggingParticle(ClientWorld p_i232446_1_, double p_i232446_2_, double p_i232446_4_, double p_i232446_6_, double p_i232446_8_, double p_i232446_10_, double p_i232446_12_, BlockState p_i232446_14_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLightColor(float p_189214_1_)
IParticleRenderType
getRenderType()
protected float
getU0()
protected float
getU1()
protected float
getV0()
protected float
getV1()
DiggingParticle
init()
DiggingParticle
init(BlockPos p_174846_1_)
protected void
multiplyColor(BlockPos p_187154_1_)
private Particle
updateSprite(BlockPos pos)
-
Methods inherited from class net.minecraft.client.particle.SpriteTexturedParticle
pickSprite, setSprite, setSpriteFromAge
-
Methods inherited from class net.minecraft.client.particle.TexturedParticle
getQuadSize, render, scale
-
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setPos, setPower, setSize, shouldCull, tick, toString
-
-
-
-
Field Detail
-
blockState
private final BlockState blockState
-
pos
private BlockPos pos
-
uo
private final float uo
-
vo
private final float vo
-
-
Constructor Detail
-
DiggingParticle
public DiggingParticle(ClientWorld p_i232446_1_, double p_i232446_2_, double p_i232446_4_, double p_i232446_6_, double p_i232446_8_, double p_i232446_10_, double p_i232446_12_, BlockState p_i232446_14_)
-
-
Method Detail
-
getRenderType
public IParticleRenderType getRenderType()
- Specified by:
getRenderType
in classParticle
-
init
public DiggingParticle init(BlockPos p_174846_1_)
-
init
public DiggingParticle init()
-
multiplyColor
protected void multiplyColor(@Nullable BlockPos p_187154_1_)
-
getU0
protected float getU0()
- Overrides:
getU0
in classSpriteTexturedParticle
-
getU1
protected float getU1()
- Overrides:
getU1
in classSpriteTexturedParticle
-
getV0
protected float getV0()
- Overrides:
getV0
in classSpriteTexturedParticle
-
getV1
protected float getV1()
- Overrides:
getV1
in classSpriteTexturedParticle
-
getLightColor
public int getLightColor(float p_189214_1_)
- Overrides:
getLightColor
in classParticle
-
-