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 official fgr
intermediary net/minecraft/class_666
named net/minecraft/client/particle/DragonBreathParticle
-
Nested Class Summary
-
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, blue, collidesWithWorld, dead, field_28787, 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, 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 official a
Lfgr;a:I
intermediary field_32654
Lnet/minecraft/class_666;field_32654:I
named MIN_COLOR
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_COLOR:I
-
MAX_COLOR
private static final int MAX_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfgr;b:I
intermediary field_32655
Lnet/minecraft/class_666;field_32655:I
named MAX_COLOR
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_COLOR:I
-
MIN_RED
private static final float MIN_RED- See Also:
- Mappings:
Namespace Name Mixin selector official F
Lfgr;F:F
intermediary field_32648
Lnet/minecraft/class_666;field_32648:F
named MIN_RED
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_RED:F
-
MIN_GREEN
private static final float MIN_GREEN- See Also:
- Mappings:
Namespace Name Mixin selector official G
Lfgr;G:F
intermediary field_32649
Lnet/minecraft/class_666;field_32649:F
named MIN_GREEN
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_GREEN:F
-
MIN_BLUE
private static final float MIN_BLUE- See Also:
- Mappings:
Namespace Name Mixin selector official H
Lfgr;H:F
intermediary field_32650
Lnet/minecraft/class_666;field_32650:F
named MIN_BLUE
Lnet/minecraft/client/particle/DragonBreathParticle;MIN_BLUE:F
-
MAX_RED
private static final float MAX_RED- See Also:
- Mappings:
Namespace Name Mixin selector official I
Lfgr;I:F
intermediary field_32651
Lnet/minecraft/class_666;field_32651:F
named MAX_RED
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_RED:F
-
MAX_GREEN
private static final float MAX_GREEN- See Also:
- Mappings:
Namespace Name Mixin selector official J
Lfgr;J:F
intermediary field_32652
Lnet/minecraft/class_666;field_32652:F
named MAX_GREEN
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_GREEN:F
-
MAX_BLUE
private static final float MAX_BLUE- See Also:
- Mappings:
Namespace Name Mixin selector official K
Lfgr;K:F
intermediary field_32653
Lnet/minecraft/class_666;field_32653:F
named MAX_BLUE
Lnet/minecraft/client/particle/DragonBreathParticle;MAX_BLUE:F
-
reachedGround
private boolean reachedGround- Mappings:
Namespace Name Mixin selector official L
Lfgr;L:Z
intermediary field_3792
Lnet/minecraft/class_666;field_3792:Z
named reachedGround
Lnet/minecraft/client/particle/DragonBreathParticle;reachedGround:Z
-
spriteProvider
- Mappings:
Namespace Name Mixin selector official M
Lfgr;M:Lfih;
intermediary field_17793
Lnet/minecraft/class_666;field_17793:Lnet/minecraft/class_4002;
named spriteProvider
Lnet/minecraft/client/particle/DragonBreathParticle;spriteProvider:Lnet/minecraft/client/particle/SpriteProvider;
-
-
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 official <init>
Lfgr;<init>(Lfew;DDDDDDLfih;)V
intermediary <init>
Lnet/minecraft/class_666;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)V
named <init>
Lnet/minecraft/client/particle/DragonBreathParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)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 official b
Lfhm;b()Lfhq;
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;
-
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 official b
Lfhz;b(F)F
intermediary method_18132
Lnet/minecraft/class_3940;method_18132(F)F
named getSize
Lnet/minecraft/client/particle/BillboardParticle;getSize(F)F
-