Package net.minecraft.client.particle
Class DustColorTransitionParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.AbstractDustParticle<DustColorTransitionParticleEffect>
net.minecraft.client.particle.DustColorTransitionParticle
@Environment(CLIENT)
public class DustColorTransitionParticle
extends AbstractDustParticle<DustColorTransitionParticleEffect>
- Mappings:
Namespace Name named net/minecraft/client/particle/DustColorTransitionParticle
intermediary net/minecraft/class_5734
official gik
-
Nested Class Summary
Nested ClassesNested 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
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotected
DustColorTransitionParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionprivate Vector3f
void
render
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumer
buffer.private void
updateColor
(float tickDelta) Methods inherited from class net.minecraft.client.particle.AbstractDustParticle
darken, getSize, getType, tick
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
getRotator, method_60373, method_60374, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
startColor
- Mappings:
Namespace Name Mixin selector named startColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;startColor:Lorg/joml/Vector3f;
intermediary field_28244
Lnet/minecraft/class_5734;field_28244:Lorg/joml/Vector3f;
official a
Lgik;a:Lorg/joml/Vector3f;
-
endColor
- Mappings:
Namespace Name Mixin selector named endColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;endColor:Lorg/joml/Vector3f;
intermediary field_28245
Lnet/minecraft/class_5734;field_28245:Lorg/joml/Vector3f;
official b
Lgik;b:Lorg/joml/Vector3f;
-
-
Constructor Details
-
DustColorTransitionParticle
protected DustColorTransitionParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/particle/DustColorTransitionParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/particle/DustColorTransitionParticleEffect;Lnet/minecraft/client/particle/SpriteProvider;)V
intermediary <init>
Lnet/minecraft/class_5734;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_5743;Lnet/minecraft/class_4002;)V
official <init>
Lgik;<init>(Lgga;DDDDDDLln;Lgkd;)V
-
-
Method Details
-
darken
- Mappings:
Namespace Name Mixin selector named darken
Lnet/minecraft/client/particle/DustColorTransitionParticle;darken(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
intermediary method_33073
Lnet/minecraft/class_5734;method_33073(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
official a
Lgik;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
-
updateColor
private void updateColor(float tickDelta) - Mappings:
Namespace Name Mixin selector named updateColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;updateColor(F)V
intermediary method_33074
Lnet/minecraft/class_5734;method_33074(F)V
official f
Lgik;f(F)V
-
render
Renders this particle to the givenVertexConsumer
buffer. Particles using theParticleTextureSheet.CUSTOM
sheet 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)
.- Overrides:
render
in classBillboardParticle
- Parameters:
vertexConsumer
- the buffer to render tocamera
- the current active gameCamera
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
-