Class BillboardParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
Direct Known Subclasses:
AbstractDustParticle, AbstractSlowingParticle, AnimatedParticle, AscendingParticle, BlockDustParticle, BlockFallingDustParticle, BlockLeakParticle, BlockMarkerParticle, BubbleColumnUpParticle, BubblePopParticle, CampfireSmokeParticle, CloudParticle, ConnectionParticle, CrackParticle, CurrentDownParticle, DamageParticle, DragonBreathParticle, EmotionParticle, ExplosionLargeParticle, ExplosionSmokeParticle, FireflyParticle, FireworksSparkParticle.Flash, FishingParticle, GlowParticle, GustParticle, LavaEmberParticle, LeavesParticle, NoteParticle, OminousSpawningParticle, PortalParticle, RainSplashParticle, SculkChargeParticle, SculkChargePopParticle, ShriekParticle, SnowflakeParticle, SpellParticle, SuspendParticle, SweepAttackParticle, TrailParticle, TrialSpawnerDetectionParticle, VibrationParticle, WaterBubbleParticle, WaterSuspendParticle

@Environment(CLIENT) public abstract class BillboardParticle extends Particle
A Particle which renders a camera-facing sprite with a target texture scale.
Mappings:
Namespace Name
named net/minecraft/client/particle/BillboardParticle
intermediary net/minecraft/class_3940
official hcq
  • Field Details

    • scale

      protected float scale
      Mappings:
      Namespace Name Mixin selector
      named scale Lnet/minecraft/client/particle/BillboardParticle;scale:F
      intermediary field_17867 Lnet/minecraft/class_3940;field_17867:F
      official c Lhcq;c:F
    • field_62633

      protected float field_62633
      Mappings:
      Namespace Name Mixin selector
      named field_62633 Lnet/minecraft/client/particle/BillboardParticle;field_62633:F
      intermediary field_62633 Lnet/minecraft/class_3940;field_62633:F
      official d Lhcq;d:F
    • field_62634

      protected float field_62634
      Mappings:
      Namespace Name Mixin selector
      named field_62634 Lnet/minecraft/client/particle/BillboardParticle;field_62634:F
      intermediary field_62634 Lnet/minecraft/class_3940;field_62634:F
      official e Lhcq;e:F
    • field_62635

      protected float field_62635
      Mappings:
      Namespace Name Mixin selector
      named field_62635 Lnet/minecraft/client/particle/BillboardParticle;field_62635:F
      intermediary field_62635 Lnet/minecraft/class_3940;field_62635:F
      official f Lhcq;f:F
    • field_62636

      protected float field_62636
      Mappings:
      Namespace Name Mixin selector
      named field_62636 Lnet/minecraft/client/particle/BillboardParticle;field_62636:F
      intermediary field_62636 Lnet/minecraft/class_3940;field_62636:F
      official g Lhcq;g:F
    • field_62637

      protected float field_62637
      Mappings:
      Namespace Name Mixin selector
      named field_62637 Lnet/minecraft/client/particle/BillboardParticle;field_62637:F
      intermediary field_62637 Lnet/minecraft/class_3940;field_62637:F
      official h Lhcq;h:F
    • field_62638

      protected float field_62638
      Mappings:
      Namespace Name Mixin selector
      named field_62638 Lnet/minecraft/client/particle/BillboardParticle;field_62638:F
      intermediary field_62638 Lnet/minecraft/class_3940;field_62638:F
      official i Lhcq;i:F
    • field_62632

      protected Sprite field_62632
      Mappings:
      Namespace Name Mixin selector
      named field_62632 Lnet/minecraft/client/particle/BillboardParticle;field_62632:Lnet/minecraft/client/texture/Sprite;
      intermediary field_62632 Lnet/minecraft/class_3940;field_62632:Lnet/minecraft/class_1058;
      official E Lhcq;E:Libj;
  • Constructor Details

    • BillboardParticle

      protected BillboardParticle(ClientWorld clientWorld, double double2, double double3, double double4, Sprite sprite)
    • BillboardParticle

      protected BillboardParticle(ClientWorld clientWorld, double double2, double double3, double double4, double double5, double double6, double double7, Sprite sprite)
  • Method Details

    • getRotator

      public BillboardParticle.Rotator getRotator()
      Mappings:
      Namespace Name Mixin selector
      named getRotator Lnet/minecraft/client/particle/BillboardParticle;getRotator()Lnet/minecraft/client/particle/BillboardParticle$Rotator;
      intermediary method_55245 Lnet/minecraft/class_3940;method_55245()Lnet/minecraft/class_3940$class_8981;
      official p Lhcq;p()Lhcq$a;
    • render

      public void render(class_11944 class_11944, Camera camera, float float2)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/particle/BillboardParticle;render(Lnet/minecraft/class_11944;Lnet/minecraft/client/render/Camera;F)V
      intermediary method_3074 Lnet/minecraft/class_3940;method_3074(Lnet/minecraft/class_11944;Lnet/minecraft/class_4184;F)V
      official a Lhcq;a(Lhfl;Lfyk;F)V
    • render

      protected void render(class_11944 class_11944, Camera camera, Quaternionf quaternionf, float tickProgress)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/particle/BillboardParticle;render(Lnet/minecraft/class_11944;Lnet/minecraft/client/render/Camera;Lorg/joml/Quaternionf;F)V
      intermediary method_60373 Lnet/minecraft/class_3940;method_60373(Lnet/minecraft/class_11944;Lnet/minecraft/class_4184;Lorg/joml/Quaternionf;F)V
      official a Lhcq;a(Lhfl;Lfyk;Lorg/joml/Quaternionf;F)V
    • renderVertex

      protected void renderVertex(class_11944 class_11944, Quaternionf quaternionf, float x, float y, float z, float float2)
      Mappings:
      Namespace Name Mixin selector
      named renderVertex Lnet/minecraft/client/particle/BillboardParticle;renderVertex(Lnet/minecraft/class_11944;Lorg/joml/Quaternionf;FFFF)V
      intermediary method_60375 Lnet/minecraft/class_3940;method_60375(Lnet/minecraft/class_11944;Lorg/joml/Quaternionf;FFFF)V
      official a Lhcq;a(Lhfl;Lorg/joml/Quaternionf;FFFF)V
    • getSize

      public float getSize(float tickProgress)
      Returns the draw scale of this particle, which is used while rendering in
      invalid reference
      #buildGeometry
      .
      Returns:
      the draw scale of this particle, which is used while rendering in
      invalid reference
      #buildGeometry
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/client/particle/BillboardParticle;getSize(F)F
      intermediary method_18132 Lnet/minecraft/class_3940;method_18132(F)F
      official b Lhcq;b(F)F
    • scale

      public Particle scale(float scale)
      Scales the size of this particle by the given scale amount.
      Overrides:
      scale in class Particle
      Parameters:
      scale - the amount to scale this particle's size by
      Returns:
      this particle
      Mappings:
      Namespace Name Mixin selector
      named scale Lnet/minecraft/client/particle/Particle;scale(F)Lnet/minecraft/client/particle/Particle;
      intermediary method_3087 Lnet/minecraft/class_703;method_3087(F)Lnet/minecraft/class_703;
      official d Lhca;d(F)Lhca;
    • method_74274

      public ParticleTextureSheet method_74274()
      Specified by:
      method_74274 in class Particle
      Mappings:
      Namespace Name Mixin selector
      named method_74274 Lnet/minecraft/client/particle/Particle;method_74274()Lnet/minecraft/client/particle/ParticleTextureSheet;
      intermediary method_74274 Lnet/minecraft/class_703;method_74274()Lnet/minecraft/class_3999;
      official bj_ Lhca;bj_()Lhcf;
    • method_74306

      public void method_74306(SpriteProvider spriteProvider)
      Mappings:
      Namespace Name Mixin selector
      named method_74306 Lnet/minecraft/client/particle/BillboardParticle;method_74306(Lnet/minecraft/client/particle/SpriteProvider;)V
      intermediary method_74306 Lnet/minecraft/class_3940;method_74306(Lnet/minecraft/class_4002;)V
      official a Lhcq;a(Lhcy;)V
    • method_74307

      protected void method_74307(Sprite sprite)
      Mappings:
      Namespace Name Mixin selector
      named method_74307 Lnet/minecraft/client/particle/BillboardParticle;method_74307(Lnet/minecraft/client/texture/Sprite;)V
      intermediary method_74307 Lnet/minecraft/class_3940;method_74307(Lnet/minecraft/class_1058;)V
      official a Lhcq;a(Libj;)V
    • getMinU

      protected float getMinU()
      Returns the lower U coordinate of the UV coordinates used to draw this particle.
      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 Lhcq;c()F
    • getMaxU

      protected float getMaxU()
      Returns the upper U coordinate of the UV coordinates used to draw this particle.
      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 Lhcq;d()F
    • getMinV

      protected float getMinV()
      Returns the lower V coordinate of the UV coordinates used to draw this particle.
      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 Lhcq;e()F
    • getMaxV

      protected float getMaxV()
      Returns the upper V coordinate of the UV coordinates used to draw this particle.
      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 Lhcq;f()F
    • method_74255

      protected abstract BillboardParticle.class_11941 method_74255()
      Mappings:
      Namespace Name Mixin selector
      named method_74255 Lnet/minecraft/client/particle/BillboardParticle;method_74255()Lnet/minecraft/client/particle/BillboardParticle$class_11941;
      intermediary method_74255 Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;
      official b Lhcq;b()Lhcq$b;
    • method_74305

      public void method_74305(float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      named method_74305 Lnet/minecraft/client/particle/BillboardParticle;method_74305(FFF)V
      intermediary method_74305 Lnet/minecraft/class_3940;method_74305(FFF)V
      official a Lhcq;a(FFF)V
    • method_74308

      protected void method_74308(float float2)
      Mappings:
      Namespace Name Mixin selector
      named method_74308 Lnet/minecraft/client/particle/BillboardParticle;method_74308(F)V
      intermediary method_74308 Lnet/minecraft/class_3940;method_74308(F)V
      official e Lhcq;e(F)V
    • toString

      public String toString()
      Overrides:
      toString in class Particle