Package net.minecraft.client.particle
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 TypeClassDescription(package private) static class(package private) static class(package private) static class(package private) static classstatic classstatic classstatic classstatic class(package private) static class(package private) static class(package private) static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDripParticle(ClientLevel pLevel, double pX, double pY, double pZ, Fluid pType, TextureAtlasSprite pSprite) -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()intgetLightColor(float pPartialTick) protected FluidgetType()protected voidprotected voidvoidtick()Methods inherited from class net.minecraft.client.particle.SingleQuadParticle
extract, extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getQuadSize, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toStringMethods inherited from class net.minecraft.client.particle.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 pLevel, double pX, double pY, double pZ, Fluid pType, TextureAtlasSprite pSprite)
-
-
Method Details
-
getType
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
getLightColor
public int getLightColor(float pPartialTick) - Overrides:
getLightColorin classParticle
-
tick
public void tick() -
preMoveUpdate
protected void preMoveUpdate() -
postMoveUpdate
protected void postMoveUpdate()
-