Class FootstepParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.FootstepParticle

@Environment(CLIENT) public class FootstepParticle extends Particle
Mappings:
Namespace Name
official flg
intermediary net/minecraft/class_8458
named net/minecraft/client/particle/FootstepParticle
  • Field Details

    • sprite

      private final Sprite sprite
      Mappings:
      Namespace Name Mixin selector
      official a Lflg;a:Lfzc;
      intermediary field_44387 Lnet/minecraft/class_8458;field_44387:Lnet/minecraft/class_1058;
      named sprite Lnet/minecraft/client/particle/FootstepParticle;sprite:Lnet/minecraft/client/texture/Sprite;
    • field_44388

      private final float field_44388
      Mappings:
      Namespace Name Mixin selector
      official b Lflg;b:F
      intermediary field_44388 Lnet/minecraft/class_8458;field_44388:F
      named field_44388 Lnet/minecraft/client/particle/FootstepParticle;field_44388:F
  • Constructor Details

    • FootstepParticle

      protected FootstepParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, SpriteProvider spriteProvider)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lflg;<init>(Lfja;DDDDDDLfmm;)V
      intermediary <init> Lnet/minecraft/class_8458;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)V
      named <init> Lnet/minecraft/client/particle/FootstepParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)V
  • Method Details

    • getType

      public ParticleTextureSheet getType()
      Returns the rendering category this particle is rendered under.

      For more information on the properties and types available to each Particle, visit ParticleTextureSheet.

      Specified by:
      getType in class Particle
      Returns:
      the rendering category this particle is rendered under
      Mappings:
      Namespace Name Mixin selector
      official b Lflr;b()Lflv;
      intermediary method_18122 Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;
      named getType Lnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
    • buildGeometry

      public void buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      Renders this particle to the given VertexConsumer buffer.
      Specified by:
      buildGeometry in class Particle
      Parameters:
      vertexConsumer - the buffer to render to
      camera - the current active game Camera
      tickDelta - frame tick delta amount
      Mappings:
      Namespace Name Mixin selector
      official a Lflr;a(Lemm;Leqy;F)V
      intermediary method_3074 Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
      named buildGeometry Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V