Package net.minecraft.client.particle
Class BillboardParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
- Direct Known Subclasses:
- SpriteBillboardParticle
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 - gjv
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.ParticleParticle.DynamicAlpha
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.particle.Particleage, alpha, angle, ascending, blue, collidesWithWorld, dead, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedBillboardParticle(ClientWorld world, double x, double y, double z) protectedBillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract floatgetMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.protected abstract floatgetMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.protected abstract floatgetMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.protected abstract floatgetMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.floatgetSize(float tickDelta) Returns the draw scale of this particle, which is used while rendering in.invalid reference#buildGeometryprotected voidmethod_60373(VertexConsumer vertexConsumer, Camera camera, Quaternionf quaternionf, float float2) protected voidmethod_60374(VertexConsumer vertexConsumer, Quaternionf quaternionf, float float2, float float3, float float4, float float5) private voidmethod_60375(VertexConsumer vertexConsumer, Quaternionf quaternionf, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, int int2) voidrender(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumerbuffer.scale(float scale) Scales the size of this particle by the givenscaleamount.Methods inherited from class net.minecraft.client.particle.ParticlegetBoundingBox, getBrightness, getGroup, getMaxAge, getType, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, tick, toString
- 
Field Details- 
scaleprotected 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 - D- Lgjv;D:F
 
 
- 
- 
Constructor Details- 
BillboardParticle- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDD)V- intermediary - <init>- Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDD)V- official - <init>- Lgji;<init>(Lgga;DDD)V
 
- 
BillboardParticleprotected BillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDD)V- intermediary - <init>- Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDDDDD)V- official - <init>- Lgji;<init>(Lgga;DDDDDD)V
 
 
- 
- 
Method Details- 
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- Lgjv;p()Lgjv$a;
 
- 
renderRenders this particle to the givenVertexConsumerbuffer. Particles using theParticleTextureSheet.CUSTOMsheet should implement this with an empty method, and instead render inParticle.renderCustom(net.minecraft.client.util.math.MatrixStack, net.minecraft.client.render.VertexConsumerProvider, net.minecraft.client.render.Camera, float).- Specified by:
- renderin class- Particle
- Parameters:
- vertexConsumer- the buffer to render to
- camera- the current active game- Camera
- tickDelta- frame tick delta amount
- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/particle/Particle;render(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V- intermediary - method_3074- Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V- official - a- Lgji;a(Lffz;Lfks;F)V
 
- 
method_60373protected void method_60373(VertexConsumer vertexConsumer, Camera camera, Quaternionf quaternionf, float float2) - Mappings:
- Namespace - Name - Mixin selector - named - method_60373- Lnet/minecraft/client/particle/BillboardParticle;method_60373(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;Lorg/joml/Quaternionf;F)V- intermediary - method_60373- Lnet/minecraft/class_3940;method_60373(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;Lorg/joml/Quaternionf;F)V- official - a- Lgjv;a(Lffz;Lfks;Lorg/joml/Quaternionf;F)V
 
- 
method_60374protected void method_60374(VertexConsumer vertexConsumer, Quaternionf quaternionf, float float2, float float3, float float4, float float5) - Mappings:
- Namespace - Name - Mixin selector - named - method_60374- Lnet/minecraft/client/particle/BillboardParticle;method_60374(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Quaternionf;FFFF)V- intermediary - method_60374- Lnet/minecraft/class_3940;method_60374(Lnet/minecraft/class_4588;Lorg/joml/Quaternionf;FFFF)V- official - a- Lgjv;a(Lffz;Lorg/joml/Quaternionf;FFFF)V
 
- 
method_60375private void method_60375(VertexConsumer vertexConsumer, Quaternionf quaternionf, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, int int2) - Mappings:
- Namespace - Name - Mixin selector - named - method_60375- Lnet/minecraft/client/particle/BillboardParticle;method_60375(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Quaternionf;FFFFFFFFI)V- intermediary - method_60375- Lnet/minecraft/class_3940;method_60375(Lnet/minecraft/class_4588;Lorg/joml/Quaternionf;FFFFFFFFI)V- official - a- Lgjv;a(Lffz;Lorg/joml/Quaternionf;FFFFFFFFI)V
 
- 
getSizepublic float getSize(float tickDelta) 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- Lgjv;b(F)F
 
- 
scaleScales the size of this particle by the givenscaleamount.- Overrides:
- scalein 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- Lgji;d(F)Lgji;
 
- 
getMinUprotected abstract 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- Lgjv;c()F
 
- 
getMaxUprotected abstract 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- Lgjv;d()F
 
- 
getMinVprotected abstract 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- Lgjv;e()F
 
- 
getMaxVprotected abstract 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- Lgjv;f()F
 
 
-