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
Nested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final float
private static final org.joml.Vector3f
private static final org.joml.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_254493_, org.joml.Vector3f p_253752_, float p_254250_, float p_254047_, int p_253814_) void
render
(VertexConsumer p_233985_, Camera p_233986_, float p_233987_) private void
renderRotatedParticle
(VertexConsumer p_233989_, Camera p_233990_, float p_233991_, Consumer<org.joml.Quaternionf> 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
getFacingCameraMode, getRenderBoundingBox, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
Field Details
-
ROTATION_VECTOR
private static final org.joml.Vector3f ROTATION_VECTOR -
TRANSFORM_VECTOR
private static final org.joml.Vector3f 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<org.joml.Quaternionf> p_233992_) -
makeCornerVertex
private void makeCornerVertex(VertexConsumer p_254493_, org.joml.Vector3f p_253752_, float p_254250_, float p_254047_, int p_253814_) -
getLightColor
public int getLightColor(float p_233983_) - Overrides:
getLightColor
in classParticle
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
tick
public void tick()
-