Class DripParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.DripParticle
- Direct Known Subclasses:
DripParticle.DripHangParticle, DripParticle.DripLandParticle, DripParticle.FallingParticle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classprivate static classstatic classstatic classstatic classstatic classprivate static classprivate static classprivate static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class Particle
Particle.LifetimeAlpha -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDripParticle(ClientLevel level, double x, double y, double z, Fluid type, TextureAtlasSprite sprite) -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()intgetLightCoords(float a) protected FluidgetType()protected voidprotected voidvoidtick()Methods inherited from class SingleQuadParticle
extract, extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getQuadSize, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toStringMethods inherited from class Particle
getBoundingBox, getLifetime, getParticleLimit, getPos, isAlive, move, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
-
Field Details
-
type
-
isGlowing
protected boolean isGlowing
-
-
Constructor Details
-
DripParticle
public DripParticle(ClientLevel level, double x, double y, double z, Fluid type, TextureAtlasSprite sprite)
-
-
Method Details
-
getType
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
getLightCoords
public int getLightCoords(float a) - Overrides:
getLightCoordsin classParticle
-
tick
-
preMoveUpdate
protected void preMoveUpdate() -
postMoveUpdate
protected void postMoveUpdate()
-