Package net.minecraft.client.particle
Class GlowParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.GlowParticle
@Environment(CLIENT) public class GlowParticle extends SpriteBillboardParticle
- Mappings:
Namespace Name official efe
intermediary net/minecraft/class_5786
named net/minecraft/client/particle/GlowParticle
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlowParticle.Factory
-
Field Summary
Fields Modifier and Type Field Description private static Random
RANDOM
private SpriteProvider
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, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, field_28786, field_28787, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
Constructors Modifier Constructor Description private
GlowParticle(ClientWorld world, double x, double y, double z, double double2, double double3, double double4, SpriteProvider spriteProvider)
-
Method Summary
Modifier and Type Method Description int
getBrightness(float tint)
ParticleTextureSheet
getType()
void
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
buildGeometry, getSize, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
-
Field Details
-
RANDOM
- Mappings:
Namespace Name Mixin selector official a
Lefe;a:Ljava/util/Random;
intermediary field_28457
Lnet/minecraft/class_5786;field_28457:Ljava/util/Random;
named RANDOM
Lnet/minecraft/client/particle/GlowParticle;RANDOM:Ljava/util/Random;
-
spriteProvider
- Mappings:
Namespace Name Mixin selector official b
Lefe;b:Legf;
intermediary field_28458
Lnet/minecraft/class_5786;field_28458:Lnet/minecraft/class_4002;
named spriteProvider
Lnet/minecraft/client/particle/GlowParticle;spriteProvider:Lnet/minecraft/client/particle/SpriteProvider;
-
-
Constructor Details
-
GlowParticle
private GlowParticle(ClientWorld world, double x, double y, double z, double double2, double double3, double double4, SpriteProvider spriteProvider)- Mappings:
Namespace Name Mixin selector official <init>
Lefe;<init>(Ledy;DDDDDDLegf;)V
intermediary <init>
Lnet/minecraft/class_5786;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_4002;)V
named <init>
Lnet/minecraft/client/particle/GlowParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/SpriteProvider;)V
-
-
Method Details
-
getType
- Specified by:
getType
in classParticle
- Mappings:
Namespace Name Mixin selector official b
Lefo;b()Lefs;
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;
-
getBrightness
public int getBrightness(float tint)- Overrides:
getBrightness
in classParticle
- Mappings:
Namespace Name Mixin selector official a
Lefo;a(F)I
intermediary method_3068
Lnet/minecraft/class_703;method_3068(F)I
named getBrightness
Lnet/minecraft/client/particle/Particle;getBrightness(F)I
-
tick
public void tick()
-