Package net.minecraft.client.particle
Class GlowParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.GlowParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/GlowParticleintermediary net/minecraft/class_5786official hcl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RenderType, BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsFields inherited from class net.minecraft.client.particle.BillboardParticle
alpha, blue, green, lastZRotation, red, scale, sprite, zRotation -
Constructor Summary
ConstructorsConstructorDescriptionGlowParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.voidtick()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.BillboardParticle
getMaxU, getMaxV, getMinU, getMinV, getRotator, getSize, render, render, renderVertex, scale, setAlpha, setColor, setSprite, textureSheet, toString, updateSpriteMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity
-
Field Details
-
spriteProvider
- Mappings:
Namespace Name Mixin selector named spriteProviderLnet/minecraft/client/particle/GlowParticle;spriteProvider:Lnet/minecraft/client/particle/SpriteProvider;intermediary field_28458Lnet/minecraft/class_5786;field_28458:Lnet/minecraft/class_4002;official aLhcl;a:Lhdw;
-
-
Constructor Details
-
GlowParticle
GlowParticle(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/GlowParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)Vintermediary <init>Lnet/minecraft/class_5786;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)Vofficial <init>Lhcl;<init>(Lgzn;DDDDDDLhdw;)V
-
-
Method Details
-
getRenderType
- Specified by:
getRenderTypein classBillboardParticle- 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;
-
getBrightness
public int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
getBrightnessin classParticle- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Iofficial aLhcy;a(F)I
-
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.
-