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_234105_, double p_234106_, double p_234107_, double p_234108_, PositionSource p_234109_, int p_234110_) -
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
-
target
-
yRot
private float yRot -
yRotO
private float yRotO
-
-
Constructor Details
-
VibrationSignalParticle
VibrationSignalParticle(ClientLevel p_234105_, double p_234106_, double p_234107_, double p_234108_, PositionSource p_234109_, int p_234110_)
-
-
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()
-