Package net.minecraft.client.particle
Class VibrationSignalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.VibrationSignalParticle
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ConstructorDescriptionVibrationSignalParticle(ClientLevel p_172464_, VibrationPath p_172465_, int p_172466_)
-
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor(float p_172469_)
void
render(VertexConsumer p_172475_, Camera p_172476_, float p_172477_)
private void
renderSignal(VertexConsumer p_172479_, Camera p_172480_, float p_172481_, Consumer<Quaternion> p_172482_)
void
tick()
Methods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
Methods inherited from class net.minecraft.client.particle.SingleQuadParticle
getQuadSize, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
vibrationPath
-
yRot
private float yRot -
yRotO
private float yRotO
-
-
Constructor Details
-
VibrationSignalParticle
VibrationSignalParticle(ClientLevel p_172464_, VibrationPath p_172465_, int p_172466_)
-
-
Method Details
-
render
- Overrides:
render
in classSingleQuadParticle
-
renderSignal
private void renderSignal(VertexConsumer p_172479_, Camera p_172480_, float p_172481_, Consumer<Quaternion> p_172482_) -
getLightColor
public int getLightColor(float p_172469_)- Overrides:
getLightColor
in classParticle
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
tick
public void tick()
-