Package net.minecraft.client.particle
Class DragonBreathParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.DragonBreathParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/DragonBreathParticle
intermediary net/minecraft/class_666
official ghs
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.Rotator
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final int
private static final float
private static final float
private static final float
private static final int
private static final float
private static final float
private boolean
private final SpriteProvider
Fields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
sprite
Fields inherited from class net.minecraft.client.particle.BillboardParticle
scale
Fields inherited from class net.minecraft.client.particle.Particle
age, 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 Summary
ConstructorDescriptionDragonBreathParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getSize
(float tickDelta) Returns the draw scale of this particle, which is used while rendering inBillboardParticle.buildGeometry(net.minecraft.client.render.VertexConsumer, net.minecraft.client.render.Camera, float)
.getType()
Returns the rendering category this particle is rendered under.void
tick()
Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
Methods inherited from class net.minecraft.client.particle.BillboardParticle
buildGeometry, getRotator, method_60373, method_60374, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
MIN_COLOR
private static final int MIN_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_COLOR
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_COLOR:I
intermediary field_32654
Lnet/minecraft/class_666;field_32654:I
official a
Lghs;a:I
-
MAX_COLOR
private static final int MAX_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_COLOR
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_COLOR:I
intermediary field_32655
Lnet/minecraft/class_666;field_32655:I
official b
Lghs;b:I
-
MIN_RED
private static final float MIN_RED- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_RED
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_RED:F
intermediary field_32648
Lnet/minecraft/class_666;field_32648:F
official F
Lghs;F:F
-
MIN_GREEN
private static final float MIN_GREEN- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_GREEN
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_GREEN:F
intermediary field_32649
Lnet/minecraft/class_666;field_32649:F
official G
Lghs;G:F
-
MIN_BLUE
private static final float MIN_BLUE- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_BLUE
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_BLUE:F
intermediary field_32650
Lnet/minecraft/class_666;field_32650:F
official H
Lghs;H:F
-
MAX_RED
private static final float MAX_RED- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_RED
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_RED:F
intermediary field_32651
Lnet/minecraft/class_666;field_32651:F
official I
Lghs;I:F
-
MAX_GREEN
private static final float MAX_GREEN- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_GREEN
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_GREEN:F
intermediary field_32652
Lnet/minecraft/class_666;field_32652:F
official J
Lghs;J:F
-
MAX_BLUE
private static final float MAX_BLUE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_BLUE
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_BLUE:F
intermediary field_32653
Lnet/minecraft/class_666;field_32653:F
official K
Lghs;K:F
-
reachedGround
private boolean reachedGround- Mappings:
Namespace Name Mixin selector named reachedGround
Lnet/minecraft/client/particle/DragonBreathParticle;reachedGround:Z
intermediary field_3792
Lnet/minecraft/class_666;field_3792:Z
official L
Lghs;L:Z
-
spriteProvider
- Mappings:
Namespace Name Mixin selector named spriteProvider
Lnet/minecraft/client/particle/DragonBreathParticle;spriteProvider:Lnet/minecraft/client/particle/SpriteProvider;
intermediary field_17793
Lnet/minecraft/class_666;field_17793:Lnet/minecraft/class_4002;
official M
Lghs;M:Lgjm;
-
-
Constructor Details
-
DragonBreathParticle
DragonBreathParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, SpriteProvider spriteProvider) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/particle/DragonBreathParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)V
intermediary <init>
Lnet/minecraft/class_666;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)V
official <init>
Lghs;<init>(Lgfj;DDDDDDLgjm;)V
-
-
Method Details
-
tick
public void tick()Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision. -
getType
Returns the rendering category this particle is rendered under.For more information on the properties and types available to each
Particle
, visitParticleTextureSheet
.- Specified by:
getType
in classParticle
- 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
Lgir;b()Lgiv;
-
getSize
public float getSize(float tickDelta) Returns the draw scale of this particle, which is used while rendering inBillboardParticle.buildGeometry(net.minecraft.client.render.VertexConsumer, net.minecraft.client.render.Camera, float)
.- Overrides:
getSize
in classBillboardParticle
- Returns:
- the draw scale of this particle, which is used while rendering in
BillboardParticle.buildGeometry(net.minecraft.client.render.VertexConsumer, net.minecraft.client.render.Camera, float)
- 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
Lgje;b(F)F
-