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
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockState
private BlockPos
private final float
private final float
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
Constructor Summary
ConstructorDescriptionDiggingParticle
(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
Modifier and TypeMethodDescriptionint
getLightColor
(float p_189214_1_) protected float
getU0()
protected float
getU1()
protected float
getV0()
protected float
getV1()
init()
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 Details
-
blockState
-
pos
-
uo
private final float uo -
vo
private final float vo
-
-
Constructor Details
-
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 Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
init
-
init
-
multiplyColor
-
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
-
updateSprite
-