Package net.minecraft.client.particle
Class FootstepParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.FootstepParticle
- Mappings:
Namespace Name official gchintermediary net/minecraft/class_9613named net/minecraft/client/particle/FootstepParticle
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsFields inherited from class net.minecraft.client.particle.Particle
age, alpha, angle, ascending, blue, collidesWithWorld, dead, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFootstepParticle(ClientWorld world, double x, double y, double z, double rotation, double double2, double double3, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumerbuffer.getType()Returns the rendering category this particle is rendered under.Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, scale, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, tick, toString
-
Field Details
-
sprite
- Mappings:
Namespace Name Mixin selector official aLgch;a:Lgqy;intermediary field_51163Lnet/minecraft/class_9613;field_51163:Lnet/minecraft/class_1058;named spriteLnet/minecraft/client/particle/FootstepParticle;sprite:Lnet/minecraft/client/texture/Sprite;
-
rotation
private final float rotation- Mappings:
Namespace Name Mixin selector official bLgch;b:Fintermediary field_51164Lnet/minecraft/class_9613;field_51164:Fnamed rotationLnet/minecraft/client/particle/FootstepParticle;rotation:F
-
-
Constructor Details
-
FootstepParticle
protected FootstepParticle(ClientWorld world, double x, double y, double z, double rotation, double double2, double double3, SpriteProvider spriteProvider) - Mappings:
Namespace Name Mixin selector official <init>Lgch;<init>(Lfzn;DDDDDDLgdp;)Vintermediary <init>Lnet/minecraft/class_9613;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)Vnamed <init>Lnet/minecraft/client/particle/FootstepParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)V
-
-
Method Details
-
getType
Returns the rendering category this particle is rendered under.For more information on the properties and types available to each
Particle, visitParticleTextureSheet.- Specified by:
getTypein classParticle- Returns:
- the rendering category this particle is rendered under
- Mappings:
Namespace Name Mixin selector official bLgcu;b()Lgcy;intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;named getTypeLnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
-
buildGeometry
Renders this particle to the givenVertexConsumerbuffer.- Specified by:
buildGeometryin classParticle- Parameters:
vertexConsumer- the buffer to render tocamera- the current active gameCameratickDelta- frame tick delta amount- Mappings:
Namespace Name Mixin selector official aLgcu;a(Lfbg;Lffu;F)Vintermediary method_3074Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)Vnamed buildGeometryLnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
-