Package net.minecraft.client.particle
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
A
Particle which renders a camera-facing sprite with a target texture scale.- Mappings:
Namespace Name named net/minecraft/client/particle/BillboardParticleintermediary net/minecraft/class_3940official hdo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interfaceNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected floatprotected floatprotected floatprotected Spriteprotected float -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) protectedBillboardParticle(ClientWorld world, double x, double y, double z, Sprite sprite) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatgetMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.protected floatgetMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.protected floatgetMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.protected floatgetMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.protected abstract BillboardParticle.RenderTypefloatgetSize(float tickProgress) Returns the draw scale of this particle, which is used while rendering in.invalid reference
#buildGeometryvoidrender(BillboardParticleSubmittable submittable, Camera camera, float tickProgress) protected voidrender(BillboardParticleSubmittable submittable, Camera camera, Quaternionf rotation, float tickProgress) protected voidrenderVertex(BillboardParticleSubmittable submittable, Quaternionf rotation, float x, float y, float z, float tickProgress) scale(float scale) Scales the size of this particle by the givenscaleamount.protected voidsetAlpha(float alpha) voidsetColor(float red, float green, float blue) protected voidtoString()voidupdateSprite(SpriteProvider spriteProvider) Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity, tick
-
Field Details
-
scale
protected float scale- Mappings:
Namespace Name Mixin selector named scaleLnet/minecraft/client/particle/BillboardParticle;scale:Fintermediary field_17867Lnet/minecraft/class_3940;field_17867:Fofficial cLhdo;c:F
-
red
protected float red- Mappings:
Namespace Name Mixin selector named redLnet/minecraft/client/particle/BillboardParticle;red:Fintermediary field_62633Lnet/minecraft/class_3940;field_62633:Fofficial dLhdo;d:F
-
green
protected float green- Mappings:
Namespace Name Mixin selector named greenLnet/minecraft/client/particle/BillboardParticle;green:Fintermediary field_62634Lnet/minecraft/class_3940;field_62634:Fofficial eLhdo;e:F
-
blue
protected float blue- Mappings:
Namespace Name Mixin selector named blueLnet/minecraft/client/particle/BillboardParticle;blue:Fintermediary field_62635Lnet/minecraft/class_3940;field_62635:Fofficial fLhdo;f:F
-
alpha
protected float alpha- Mappings:
Namespace Name Mixin selector named alphaLnet/minecraft/client/particle/BillboardParticle;alpha:Fintermediary field_62636Lnet/minecraft/class_3940;field_62636:Fofficial gLhdo;g:F
-
zRotation
protected float zRotation- Mappings:
Namespace Name Mixin selector named zRotationLnet/minecraft/client/particle/BillboardParticle;zRotation:Fintermediary field_62637Lnet/minecraft/class_3940;field_62637:Fofficial hLhdo;h:F
-
lastZRotation
protected float lastZRotation- Mappings:
Namespace Name Mixin selector named lastZRotationLnet/minecraft/client/particle/BillboardParticle;lastZRotation:Fintermediary field_62638Lnet/minecraft/class_3940;field_62638:Fofficial iLhdo;i:F
-
sprite
- Mappings:
Namespace Name Mixin selector named spriteLnet/minecraft/client/particle/BillboardParticle;sprite:Lnet/minecraft/client/texture/Sprite;intermediary field_62632Lnet/minecraft/class_3940;field_62632:Lnet/minecraft/class_1058;official ELhdo;E:Lico;
-
-
Constructor Details
-
BillboardParticle
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/BillboardParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDLnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_3940;<init>(Lnet/minecraft/class_638;DDDLnet/minecraft/class_1058;)Vofficial <init>Lhdo;<init>(Lgzn;DDDLico;)V
-
BillboardParticle
protected BillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/BillboardParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_3940;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_1058;)Vofficial <init>Lhdo;<init>(Lgzn;DDDDDDLico;)V
-
-
Method Details
-
getRotator
- Mappings:
Namespace Name Mixin selector named getRotatorLnet/minecraft/client/particle/BillboardParticle;getRotator()Lnet/minecraft/client/particle/BillboardParticle$Rotator;intermediary method_55245Lnet/minecraft/class_3940;method_55245()Lnet/minecraft/class_3940$class_8981;official pLhdo;p()Lhdo$a;
-
render
- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/particle/BillboardParticle;render(Lnet/minecraft/client/particle/BillboardParticleSubmittable;Lnet/minecraft/client/render/Camera;F)Vintermediary method_3074Lnet/minecraft/class_3940;method_3074(Lnet/minecraft/class_11944;Lnet/minecraft/class_4184;F)Vofficial aLhdo;a(Libt;Lfzh;F)V
-
render
protected void render(BillboardParticleSubmittable submittable, Camera camera, Quaternionf rotation, float tickProgress) - Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/particle/BillboardParticle;render(Lnet/minecraft/client/particle/BillboardParticleSubmittable;Lnet/minecraft/client/render/Camera;Lorg/joml/Quaternionf;F)Vintermediary method_60373Lnet/minecraft/class_3940;method_60373(Lnet/minecraft/class_11944;Lnet/minecraft/class_4184;Lorg/joml/Quaternionf;F)Vofficial aLhdo;a(Libt;Lfzh;Lorg/joml/Quaternionf;F)V
-
renderVertex
protected void renderVertex(BillboardParticleSubmittable submittable, Quaternionf rotation, float x, float y, float z, float tickProgress) - Mappings:
Namespace Name Mixin selector named renderVertexLnet/minecraft/client/particle/BillboardParticle;renderVertex(Lnet/minecraft/client/particle/BillboardParticleSubmittable;Lorg/joml/Quaternionf;FFFF)Vintermediary method_60375Lnet/minecraft/class_3940;method_60375(Lnet/minecraft/class_11944;Lorg/joml/Quaternionf;FFFF)Vofficial aLhdo;a(Libt;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 getSizeLnet/minecraft/client/particle/BillboardParticle;getSize(F)Fintermediary method_18132Lnet/minecraft/class_3940;method_18132(F)Fofficial bLhdo;b(F)F
-
scale
Scales the size of this particle by the givenscaleamount.- Overrides:
scalein classParticle- Parameters:
scale- the amount to scale this particle's size by- Returns:
- this particle
- Mappings:
Namespace Name Mixin selector named scaleLnet/minecraft/client/particle/Particle;scale(F)Lnet/minecraft/client/particle/Particle;intermediary method_3087Lnet/minecraft/class_703;method_3087(F)Lnet/minecraft/class_703;official dLhcy;d(F)Lhcy;
-
textureSheet
- Specified by:
textureSheetin classParticle- Mappings:
Namespace Name Mixin selector named textureSheetLnet/minecraft/client/particle/Particle;textureSheet()Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary method_74274Lnet/minecraft/class_703;method_74274()Lnet/minecraft/class_3999;official bj_Lhcy;bj_()Lhdd;
-
updateSprite
- Mappings:
Namespace Name Mixin selector named updateSpriteLnet/minecraft/client/particle/BillboardParticle;updateSprite(Lnet/minecraft/client/particle/SpriteProvider;)Vintermediary method_74306Lnet/minecraft/class_3940;method_74306(Lnet/minecraft/class_4002;)Vofficial aLhdo;a(Lhdw;)V
-
setSprite
- Mappings:
Namespace Name Mixin selector named setSpriteLnet/minecraft/client/particle/BillboardParticle;setSprite(Lnet/minecraft/client/texture/Sprite;)Vintermediary method_74307Lnet/minecraft/class_3940;method_74307(Lnet/minecraft/class_1058;)Vofficial aLhdo;a(Lico;)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 getMinULnet/minecraft/client/particle/BillboardParticle;getMinU()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fofficial cLhdo;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 getMaxULnet/minecraft/client/particle/BillboardParticle;getMaxU()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fofficial dLhdo;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 getMinVLnet/minecraft/client/particle/BillboardParticle;getMinV()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fofficial eLhdo;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 getMaxVLnet/minecraft/client/particle/BillboardParticle;getMaxV()Fintermediary method_18136Lnet/minecraft/class_3940;method_18136()Fofficial fLhdo;f()F
-
getRenderType
- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/client/particle/BillboardParticle;getRenderType()Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary method_74255Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;official bLhdo;b()Lhdo$b;
-
setColor
public void setColor(float red, float green, float blue) - Mappings:
Namespace Name Mixin selector named setColorLnet/minecraft/client/particle/BillboardParticle;setColor(FFF)Vintermediary method_74305Lnet/minecraft/class_3940;method_74305(FFF)Vofficial aLhdo;a(FFF)V
-
setAlpha
protected void setAlpha(float alpha) - Mappings:
Namespace Name Mixin selector named setAlphaLnet/minecraft/client/particle/BillboardParticle;setAlpha(F)Vintermediary method_74308Lnet/minecraft/class_3940;method_74308(F)Vofficial eLhdo;e(F)V
-
toString
-