Package net.minecraft.client.particle
Class ShriekParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.ShriekParticle
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final float
private static final Vector3f
private static final Vector3f
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ConstructorDescriptionShriekParticle
(ClientLevel p_233976_, double p_233977_, double p_233978_, double p_233979_, int p_233980_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_233983_) float
getQuadSize
(float p_234003_) private void
makeCornerVertex
(VertexConsumer p_233994_, Vector3f p_233995_, float p_233996_, float p_233997_, int p_233998_) void
render
(VertexConsumer p_233985_, Camera p_233986_, float p_233987_) private void
renderRotatedParticle
(VertexConsumer p_233989_, Camera p_233990_, float p_233991_, Consumer<Quaternion> p_233992_) 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
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
-
ROTATION_VECTOR
-
TRANSFORM_VECTOR
-
MAGICAL_X_ROT
private static final float MAGICAL_X_ROT- See Also:
-
delay
private int delay
-
-
Constructor Details
-
ShriekParticle
ShriekParticle(ClientLevel p_233976_, double p_233977_, double p_233978_, double p_233979_, int p_233980_)
-
-
Method Details
-
getQuadSize
public float getQuadSize(float p_234003_) - Overrides:
getQuadSize
in classSingleQuadParticle
-
render
- Overrides:
render
in classSingleQuadParticle
-
renderRotatedParticle
private void renderRotatedParticle(VertexConsumer p_233989_, Camera p_233990_, float p_233991_, Consumer<Quaternion> p_233992_) -
makeCornerVertex
private void makeCornerVertex(VertexConsumer p_233994_, Vector3f p_233995_, float p_233996_, float p_233997_, int p_233998_) -
getLightColor
public int getLightColor(float p_233983_) - Overrides:
getLightColor
in classParticle
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
tick
public void tick()
-