Class BlockDustParticle


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

    • blockPos

      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 Lgcs;a:Lja;
    • sampleU

      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 Lgcs;b:F
    • sampleV

      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 Lgcs;F: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
      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> Lgcs;<init>(Lfyl;DDDDDDLdsl;)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
      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> Lgcs;<init>(Lfyl;DDDDDDLdsl;Lja;)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
      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 Lgbt;b()Lgbx;
    • 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
      named getMinU Lnet/minecraft/client/particle/BillboardParticle;getMinU()F
      intermediary method_18133 Lnet/minecraft/class_3940;method_18133()F
      official c Lgcg;c()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
      named getMaxU Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F
      intermediary method_18134 Lnet/minecraft/class_3940;method_18134()F
      official d Lgcg;d()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
      named getMinV Lnet/minecraft/client/particle/BillboardParticle;getMinV()F
      intermediary method_18135 Lnet/minecraft/class_3940;method_18135()F
      official e Lgcg;e()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
      named getMaxV Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F
      intermediary method_18136 Lnet/minecraft/class_3940;method_18136()F
      official f Lgcg;f()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
      named getBrightness Lnet/minecraft/client/particle/Particle;getBrightness(F)I
      intermediary method_3068 Lnet/minecraft/class_703;method_3068(F)I
      official a Lgbt;a(F)I
    • create

      @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 Lgcs;a(Llb;Lfyl;DDDDDD)Lgcs;