Class BlockDustParticle


@Environment(CLIENT) public class BlockDustParticle extends SpriteBillboardParticle
Mappings:
Namespace Name
official fhu
intermediary net/minecraft/class_727
named net/minecraft/client/particle/BlockDustParticle
  • Field Details

    • blockPos

      private final BlockPos blockPos
      Mappings:
      Namespace Name Mixin selector
      official a Lfhu;a:Lgu;
      intermediary field_3891 Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;
      named blockPos Lnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;
    • sampleU

      private final float sampleU
      Mappings:
      Namespace Name Mixin selector
      official b Lfhu;b:F
      intermediary field_17884 Lnet/minecraft/class_727;field_17884:F
      named sampleU Lnet/minecraft/client/particle/BlockDustParticle;sampleU:F
    • sampleV

      private final float sampleV
      Mappings:
      Namespace Name Mixin selector
      official F Lfhu;F:F
      intermediary field_17885 Lnet/minecraft/class_727;field_17885:F
      named sampleV Lnet/minecraft/client/particle/BlockDustParticle;sampleV:F
  • Constructor Details

    • BlockDustParticle

      public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhu;<init>(Lfef;DDDDDDLdbt;)V
      intermediary <init> Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;)V
    • BlockDustParticle

      public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfhu;<init>(Lfef;DDDDDDLdbt;Lgu;)V
      intermediary <init> Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      named <init> Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)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 Lfgv;b()Lfgz;
      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;
    • getMinU

      protected float getMinU()
      Returns the lower U coordinate of the UV coordinates used to draw this particle.
      Overrides:
      getMinU in class SpriteBillboardParticle
      Returns:
      the lower U coordinate of the UV coordinates used to draw this particle
      Mappings:
      Namespace Name Mixin selector
      official c Lfhi;c()F
      intermediary method_18133 Lnet/minecraft/class_3940;method_18133()F
      named getMinU Lnet/minecraft/client/particle/BillboardParticle;getMinU()F
    • getMaxU

      protected float getMaxU()
      Returns the upper U coordinate of the UV coordinates used to draw this particle.
      Overrides:
      getMaxU in class SpriteBillboardParticle
      Returns:
      the upper U coordinate of the UV coordinates used to draw this particle
      Mappings:
      Namespace Name Mixin selector
      official d Lfhi;d()F
      intermediary method_18134 Lnet/minecraft/class_3940;method_18134()F
      named getMaxU Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F
    • getMinV

      protected float getMinV()
      Returns the lower V coordinate of the UV coordinates used to draw this particle.
      Overrides:
      getMinV in class SpriteBillboardParticle
      Returns:
      the lower V coordinate of the UV coordinates used to draw this particle
      Mappings:
      Namespace Name Mixin selector
      official e Lfhi;e()F
      intermediary method_18135 Lnet/minecraft/class_3940;method_18135()F
      named getMinV Lnet/minecraft/client/particle/BillboardParticle;getMinV()F
    • getMaxV

      protected float getMaxV()
      Returns the upper V coordinate of the UV coordinates used to draw this particle.
      Overrides:
      getMaxV in class SpriteBillboardParticle
      Returns:
      the upper V coordinate of the UV coordinates used to draw this particle
      Mappings:
      Namespace Name Mixin selector
      official f Lfhi;f()F
      intermediary method_18136 Lnet/minecraft/class_3940;method_18136()F
      named getMaxV Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F
    • getBrightness

      public int getBrightness(float tint)
      Returns the packed light level this particle should render at.
      Overrides:
      getBrightness in class Particle
      Returns:
      the packed light level this particle should render at
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfgv;a(F)I
      intermediary method_3068 Lnet/minecraft/class_703;method_3068(F)I
      named getBrightness Lnet/minecraft/client/particle/Particle;getBrightness(F)I