Class BlockDustParticle


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

    • blockPos Link icon

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

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

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

    • BlockDustParticle Link icon

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

      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
      named <init> Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      official <init> Lgcd;<init>(Lfxx;DDDDDDLdse;Liz;)V
  • Method Details Link icon

    • getType Link icon

      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
      named getType Lnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary method_18122 Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;
      official b Lgbe;b()Lgbi;
    • getMinU Link icon

      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
      named getMinU Lnet/minecraft/client/particle/BillboardParticle;getMinU()F
      intermediary method_18133 Lnet/minecraft/class_3940;method_18133()F
      official c Lgbr;c()F
    • getMaxU Link icon

      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
      named getMaxU Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F
      intermediary method_18134 Lnet/minecraft/class_3940;method_18134()F
      official d Lgbr;d()F
    • getMinV Link icon

      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
      named getMinV Lnet/minecraft/client/particle/BillboardParticle;getMinV()F
      intermediary method_18135 Lnet/minecraft/class_3940;method_18135()F
      official e Lgbr;e()F
    • getMaxV Link icon

      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
      named getMaxV Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F
      intermediary method_18136 Lnet/minecraft/class_3940;method_18136()F
      official f Lgbr;f()F
    • getBrightness Link icon

      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
      named getBrightness Lnet/minecraft/client/particle/Particle;getBrightness(F)I
      intermediary method_3068 Lnet/minecraft/class_703;method_3068(F)I
      official a Lgbe;a(F)I
    • create Link icon

      @Nullable static @Nullable BlockDustParticle create(BlockStateParticleEffect parameters, ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/particle/BlockDustParticle;create(Lnet/minecraft/particle/BlockStateParticleEffect;Lnet/minecraft/client/world/ClientWorld;DDDDDD)Lnet/minecraft/client/particle/BlockDustParticle;
      intermediary method_58750 Lnet/minecraft/class_727;method_58750(Lnet/minecraft/class_2388;Lnet/minecraft/class_638;DDDDDD)Lnet/minecraft/class_727;
      official a Lgcd;a(Lla;Lfxx;DDDDDD)Lgcd;