Package net.minecraft.client.particle
Class FireflyParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.FireflyParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/FireflyParticle
intermediary net/minecraft/class_10748
official gub
-
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
FieldsModifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private static final float
private static final int
private static final int
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, lastAngle, lastX, lastY, lastZ, maxAge, onGround, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
ConstructorsConstructorDescriptionFireflyParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) -
Method Summary
Modifier and TypeMethodDescriptionint
getBrightness
(float tint) Returns the packed light level this particle should render at.getType()
Returns the rendering category this particle is rendered under.private static float
method_67878
(float float2, float float3, float float4) private float
method_67879
(float float2) 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
getRotator, getSize, render, render, render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
field_56803
private static final float field_56803- See Also:
- Mappings:
Namespace Name Mixin selector named field_56803
Lnet/minecraft/client/particle/FireflyParticle;field_56803:F
intermediary field_56803
Lnet/minecraft/class_10748;field_56803:F
official a
Lgub;a:F
-
field_56804
private static final float field_56804- See Also:
- Mappings:
Namespace Name Mixin selector named field_56804
Lnet/minecraft/client/particle/FireflyParticle;field_56804:F
intermediary field_56804
Lnet/minecraft/class_10748;field_56804:F
official b
Lgub;b:F
-
field_56801
private static final float field_56801- See Also:
- Mappings:
Namespace Name Mixin selector named field_56801
Lnet/minecraft/client/particle/FireflyParticle;field_56801:F
intermediary field_56801
Lnet/minecraft/class_10748;field_56801:F
official F
Lgub;F:F
-
field_56802
private static final float field_56802- See Also:
- Mappings:
Namespace Name Mixin selector named field_56802
Lnet/minecraft/client/particle/FireflyParticle;field_56802:F
intermediary field_56802
Lnet/minecraft/class_10748;field_56802:F
official G
Lgub;G:F
-
MIN_MAX_AGE
private static final int MIN_MAX_AGE- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_MAX_AGE
Lnet/minecraft/client/particle/FireflyParticle;MIN_MAX_AGE:I
intermediary field_56498
Lnet/minecraft/class_10748;field_56498:I
official H
Lgub;H:I
-
MAX_MAX_AGE
private static final int MAX_MAX_AGE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_MAX_AGE
Lnet/minecraft/client/particle/FireflyParticle;MAX_MAX_AGE:I
intermediary field_56499
Lnet/minecraft/class_10748;field_56499:I
official I
Lgub;I:I
-
-
Constructor Details
-
FireflyParticle
FireflyParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDD)V
intermediary <init>
Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDDDDD)V
official <init>
Lgus;<init>(Lgrj;DDDDDD)V
-
-
Method Details
-
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
Lgus;b()Lguw;
-
getBrightness
public int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
getBrightness
in classParticle
- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/client/particle/Particle;getBrightness(F)I
intermediary method_3068
Lnet/minecraft/class_703;method_3068(F)I
official a
Lgus;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. -
method_67879
private float method_67879(float float2) - Mappings:
Namespace Name Mixin selector named method_67879
Lnet/minecraft/client/particle/FireflyParticle;method_67879(F)F
intermediary method_67879
Lnet/minecraft/class_10748;method_67879(F)F
official f
Lgub;f(F)F
-
method_67878
private static float method_67878(float float2, float float3, float float4) - Mappings:
Namespace Name Mixin selector named method_67878
Lnet/minecraft/client/particle/FireflyParticle;method_67878(FFF)F
intermediary method_67878
Lnet/minecraft/class_10748;method_67878(FFF)F
official b
Lgub;b(FFF)F
-