Class Particle

java.lang.Object
net.minecraft.client.particle.Particle
Direct Known Subclasses:
BillboardParticle, ElderGuardianAppearanceParticle, ItemPickupParticle, NoRenderParticle

@Environment(CLIENT)
public abstract class Particle
extends Object
Mappings:
Namespace Name
official efo
intermediary net/minecraft/class_703
named net/minecraft/client/particle/Particle
  • Field Details

    • EMPTY_BOUNDING_BOX

      private static final Box EMPTY_BOUNDING_BOX
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a:Ldip;
      intermediary field_3860 Lnet/minecraft/class_703;field_3860:Lnet/minecraft/class_238;
      named EMPTY_BOUNDING_BOX Lnet/minecraft/client/particle/Particle;EMPTY_BOUNDING_BOX:Lnet/minecraft/util/math/Box;
    • world

      protected final ClientWorld world
      Mappings:
      Namespace Name Mixin selector
      official c Lefo;c:Ledy;
      intermediary field_3851 Lnet/minecraft/class_703;field_3851:Lnet/minecraft/class_638;
      named world Lnet/minecraft/client/particle/Particle;world:Lnet/minecraft/client/world/ClientWorld;
    • prevPosX

      protected double prevPosX
      Mappings:
      Namespace Name Mixin selector
      official d Lefo;d:D
      intermediary field_3858 Lnet/minecraft/class_703;field_3858:D
      named prevPosX Lnet/minecraft/client/particle/Particle;prevPosX:D
    • prevPosY

      protected double prevPosY
      Mappings:
      Namespace Name Mixin selector
      official e Lefo;e:D
      intermediary field_3838 Lnet/minecraft/class_703;field_3838:D
      named prevPosY Lnet/minecraft/client/particle/Particle;prevPosY:D
    • prevPosZ

      protected double prevPosZ
      Mappings:
      Namespace Name Mixin selector
      official f Lefo;f:D
      intermediary field_3856 Lnet/minecraft/class_703;field_3856:D
      named prevPosZ Lnet/minecraft/client/particle/Particle;prevPosZ:D
    • x

      protected double x
      Mappings:
      Namespace Name Mixin selector
      official g Lefo;g:D
      intermediary field_3874 Lnet/minecraft/class_703;field_3874:D
      named x Lnet/minecraft/client/particle/Particle;x:D
    • y

      protected double y
      Mappings:
      Namespace Name Mixin selector
      official h Lefo;h:D
      intermediary field_3854 Lnet/minecraft/class_703;field_3854:D
      named y Lnet/minecraft/client/particle/Particle;y:D
    • z

      protected double z
      Mappings:
      Namespace Name Mixin selector
      official i Lefo;i:D
      intermediary field_3871 Lnet/minecraft/class_703;field_3871:D
      named z Lnet/minecraft/client/particle/Particle;z:D
    • velocityX

      protected double velocityX
      Mappings:
      Namespace Name Mixin selector
      official j Lefo;j:D
      intermediary field_3852 Lnet/minecraft/class_703;field_3852:D
      named velocityX Lnet/minecraft/client/particle/Particle;velocityX:D
    • velocityY

      protected double velocityY
      Mappings:
      Namespace Name Mixin selector
      official k Lefo;k:D
      intermediary field_3869 Lnet/minecraft/class_703;field_3869:D
      named velocityY Lnet/minecraft/client/particle/Particle;velocityY:D
    • velocityZ

      protected double velocityZ
      Mappings:
      Namespace Name Mixin selector
      official l Lefo;l:D
      intermediary field_3850 Lnet/minecraft/class_703;field_3850:D
      named velocityZ Lnet/minecraft/client/particle/Particle;velocityZ:D
    • boundingBox

      private Box boundingBox
      Mappings:
      Namespace Name Mixin selector
      official b Lefo;b:Ldip;
      intermediary field_3872 Lnet/minecraft/class_703;field_3872:Lnet/minecraft/class_238;
      named boundingBox Lnet/minecraft/client/particle/Particle;boundingBox:Lnet/minecraft/util/math/Box;
    • onGround

      protected boolean onGround
      Mappings:
      Namespace Name Mixin selector
      official m Lefo;m:Z
      intermediary field_3845 Lnet/minecraft/class_703;field_3845:Z
      named onGround Lnet/minecraft/client/particle/Particle;onGround:Z
    • collidesWithWorld

      protected boolean collidesWithWorld
      Mappings:
      Namespace Name Mixin selector
      official n Lefo;n:Z
      intermediary field_3862 Lnet/minecraft/class_703;field_3862:Z
      named collidesWithWorld Lnet/minecraft/client/particle/Particle;collidesWithWorld:Z
    • field_21507

      private boolean field_21507
      Mappings:
      Namespace Name Mixin selector
      official D Lefo;D:Z
      intermediary field_21507 Lnet/minecraft/class_703;field_21507:Z
      named field_21507 Lnet/minecraft/client/particle/Particle;field_21507:Z
    • dead

      protected boolean dead
      Mappings:
      Namespace Name Mixin selector
      official o Lefo;o:Z
      intermediary field_3843 Lnet/minecraft/class_703;field_3843:Z
      named dead Lnet/minecraft/client/particle/Particle;dead:Z
    • spacingXZ

      protected float spacingXZ
      Mappings:
      Namespace Name Mixin selector
      official p Lefo;p:F
      intermediary field_3849 Lnet/minecraft/class_703;field_3849:F
      named spacingXZ Lnet/minecraft/client/particle/Particle;spacingXZ:F
    • spacingY

      protected float spacingY
      Mappings:
      Namespace Name Mixin selector
      official q Lefo;q:F
      intermediary field_3867 Lnet/minecraft/class_703;field_3867:F
      named spacingY Lnet/minecraft/client/particle/Particle;spacingY:F
    • random

      protected final Random random
      Mappings:
      Namespace Name Mixin selector
      official r Lefo;r:Ljava/util/Random;
      intermediary field_3840 Lnet/minecraft/class_703;field_3840:Ljava/util/Random;
      named random Lnet/minecraft/client/particle/Particle;random:Ljava/util/Random;
    • age

      protected int age
      Mappings:
      Namespace Name Mixin selector
      official s Lefo;s:I
      intermediary field_3866 Lnet/minecraft/class_703;field_3866:I
      named age Lnet/minecraft/client/particle/Particle;age:I
    • maxAge

      protected int maxAge
      Mappings:
      Namespace Name Mixin selector
      official t Lefo;t:I
      intermediary field_3847 Lnet/minecraft/class_703;field_3847:I
      named maxAge Lnet/minecraft/client/particle/Particle;maxAge:I
    • gravityStrength

      protected float gravityStrength
      Mappings:
      Namespace Name Mixin selector
      official u Lefo;u:F
      intermediary field_3844 Lnet/minecraft/class_703;field_3844:F
      named gravityStrength Lnet/minecraft/client/particle/Particle;gravityStrength:F
    • colorRed

      protected float colorRed
      Mappings:
      Namespace Name Mixin selector
      official v Lefo;v:F
      intermediary field_3861 Lnet/minecraft/class_703;field_3861:F
      named colorRed Lnet/minecraft/client/particle/Particle;colorRed:F
    • colorGreen

      protected float colorGreen
      Mappings:
      Namespace Name Mixin selector
      official w Lefo;w:F
      intermediary field_3842 Lnet/minecraft/class_703;field_3842:F
      named colorGreen Lnet/minecraft/client/particle/Particle;colorGreen:F
    • colorBlue

      protected float colorBlue
      Mappings:
      Namespace Name Mixin selector
      official x Lefo;x:F
      intermediary field_3859 Lnet/minecraft/class_703;field_3859:F
      named colorBlue Lnet/minecraft/client/particle/Particle;colorBlue:F
    • colorAlpha

      protected float colorAlpha
      Mappings:
      Namespace Name Mixin selector
      official y Lefo;y:F
      intermediary field_3841 Lnet/minecraft/class_703;field_3841:F
      named colorAlpha Lnet/minecraft/client/particle/Particle;colorAlpha:F
    • angle

      protected float angle
      Mappings:
      Namespace Name Mixin selector
      official z Lefo;z:F
      intermediary field_3839 Lnet/minecraft/class_703;field_3839:F
      named angle Lnet/minecraft/client/particle/Particle;angle:F
    • prevAngle

      protected float prevAngle
      Mappings:
      Namespace Name Mixin selector
      official A Lefo;A:F
      intermediary field_3857 Lnet/minecraft/class_703;field_3857:F
      named prevAngle Lnet/minecraft/client/particle/Particle;prevAngle:F
    • field_28786

      protected float field_28786
      Mappings:
      Namespace Name Mixin selector
      official B Lefo;B:F
      intermediary field_28786 Lnet/minecraft/class_703;field_28786:F
      named field_28786 Lnet/minecraft/client/particle/Particle;field_28786:F
    • field_28787

      protected boolean field_28787
      Mappings:
      Namespace Name Mixin selector
      official C Lefo;C:Z
      intermediary field_28787 Lnet/minecraft/class_703;field_28787:Z
      named field_28787 Lnet/minecraft/client/particle/Particle;field_28787:Z
  • Constructor Details

    • Particle

      protected Particle​(ClientWorld clientWorld, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lefo;<init>(Ledy;DDD)V
      intermediary <init> Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDD)V
      named <init> Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDD)V
    • Particle

      public Particle​(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lefo;<init>(Ledy;DDDDDD)V
      intermediary <init> Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDDDDD)V
      named <init> Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDD)V
  • Method Details

    • move

      public Particle move​(float speed)
      Mappings:
      Namespace Name Mixin selector
      official c Lefo;c(F)Lefo;
      intermediary method_3075 Lnet/minecraft/class_703;method_3075(F)Lnet/minecraft/class_703;
      named move Lnet/minecraft/client/particle/Particle;move(F)Lnet/minecraft/client/particle/Particle;
    • scale

      public Particle scale​(float scale)
      Mappings:
      Namespace Name Mixin selector
      official d Lefo;d(F)Lefo;
      intermediary method_3087 Lnet/minecraft/class_703;method_3087(F)Lnet/minecraft/class_703;
      named scale Lnet/minecraft/client/particle/Particle;scale(F)Lnet/minecraft/client/particle/Particle;
    • setColor

      public void setColor​(float red, float green, float blue)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(FFF)V
      intermediary method_3084 Lnet/minecraft/class_703;method_3084(FFF)V
      named setColor Lnet/minecraft/client/particle/Particle;setColor(FFF)V
    • setColorAlpha

      protected void setColorAlpha​(float alpha)
      Mappings:
      Namespace Name Mixin selector
      official e Lefo;e(F)V
      intermediary method_3083 Lnet/minecraft/class_703;method_3083(F)V
      named setColorAlpha Lnet/minecraft/client/particle/Particle;setColorAlpha(F)V
    • setMaxAge

      public void setMaxAge​(int maxAge)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(I)V
      intermediary method_3077 Lnet/minecraft/class_703;method_3077(I)V
      named setMaxAge Lnet/minecraft/client/particle/Particle;setMaxAge(I)V
    • getMaxAge

      public int getMaxAge()
      Mappings:
      Namespace Name Mixin selector
      official j Lefo;j()I
      intermediary method_3082 Lnet/minecraft/class_703;method_3082()I
      named getMaxAge Lnet/minecraft/client/particle/Particle;getMaxAge()I
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a()V
      intermediary method_3070 Lnet/minecraft/class_703;method_3070()V
      named tick Lnet/minecraft/client/particle/Particle;tick()V
    • buildGeometry

      public abstract void buildGeometry​(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(Ldlv;Ldpv;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
    • getType

      public abstract ParticleTextureSheet getType()
      Mappings:
      Namespace Name Mixin selector
      official b Lefo;b()Lefs;
      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;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lefo;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_703;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/particle/Particle;toString()Ljava/lang/String;
    • markDead

      public void markDead()
      Mappings:
      Namespace Name Mixin selector
      official k Lefo;k()V
      intermediary method_3085 Lnet/minecraft/class_703;method_3085()V
      named markDead Lnet/minecraft/client/particle/Particle;markDead()V
    • setBoundingBoxSpacing

      protected void setBoundingBoxSpacing​(float spacingXZ, float spacingY)
      Mappings:
      Namespace Name Mixin selector
      official b Lefo;b(FF)V
      intermediary method_3080 Lnet/minecraft/class_703;method_3080(FF)V
      named setBoundingBoxSpacing Lnet/minecraft/client/particle/Particle;setBoundingBoxSpacing(FF)V
    • setPos

      public void setPos​(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official b Lefo;b(DDD)V
      intermediary method_3063 Lnet/minecraft/class_703;method_3063(DDD)V
      named setPos Lnet/minecraft/client/particle/Particle;setPos(DDD)V
    • move

      public void move​(double dx, double dy, double dz)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(DDD)V
      intermediary method_3069 Lnet/minecraft/class_703;method_3069(DDD)V
      named move Lnet/minecraft/client/particle/Particle;move(DDD)V
    • repositionFromBoundingBox

      protected void repositionFromBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      official l Lefo;l()V
      intermediary method_3072 Lnet/minecraft/class_703;method_3072()V
      named repositionFromBoundingBox Lnet/minecraft/client/particle/Particle;repositionFromBoundingBox()V
    • getBrightness

      protected int getBrightness​(float tint)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(F)I
      intermediary method_3068 Lnet/minecraft/class_703;method_3068(F)I
      named getBrightness Lnet/minecraft/client/particle/Particle;getBrightness(F)I
    • isAlive

      public boolean isAlive()
      Mappings:
      Namespace Name Mixin selector
      official m Lefo;m()Z
      intermediary method_3086 Lnet/minecraft/class_703;method_3086()Z
      named isAlive Lnet/minecraft/client/particle/Particle;isAlive()Z
    • getBoundingBox

      public Box getBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      official n Lefo;n()Ldip;
      intermediary method_3064 Lnet/minecraft/class_703;method_3064()Lnet/minecraft/class_238;
      named getBoundingBox Lnet/minecraft/client/particle/Particle;getBoundingBox()Lnet/minecraft/util/math/Box;
    • setBoundingBox

      public void setBoundingBox​(Box boundingBox)
      Mappings:
      Namespace Name Mixin selector
      official a Lefo;a(Ldip;)V
      intermediary method_3067 Lnet/minecraft/class_703;method_3067(Lnet/minecraft/class_238;)V
      named setBoundingBox Lnet/minecraft/client/particle/Particle;setBoundingBox(Lnet/minecraft/util/math/Box;)V