Package net.minecraft.client.particle
Class BlockDustParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.BlockDustParticle
- Mappings:
Namespace Name official fil
intermediary net/minecraft/class_727
named net/minecraft/client/particle/BlockDustParticle
-
Nested Class Summary
-
Field Summary
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, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
ConstructorDescriptionBlockDustParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state) BlockDustParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos) -
Method Summary
Modifier and TypeMethodDescriptionint
getBrightness
(float tint) Returns the packed light level this particle should render at.protected float
getMaxU()
Returns the upper U coordinate of the UV coordinates used to draw this particle.protected float
getMaxV()
Returns the upper V coordinate of the UV coordinates used to draw this particle.protected float
getMinU()
Returns the lower U coordinate of the UV coordinates used to draw this particle.protected float
getMinV()
Returns the lower V coordinate of the UV coordinates used to draw this particle.getType()
Returns the rendering category this particle is rendered under.Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
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, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, tick, toString
-
Field Details
-
blockPos
- Mappings:
Namespace Name Mixin selector official a
Lfil;a:Lgu;
intermediary field_3891
Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;
named blockPos
Lnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;
-
sampleU
private final float sampleU- Mappings:
Namespace Name Mixin selector official b
Lfil;b:F
intermediary field_17884
Lnet/minecraft/class_727;field_17884:F
named sampleU
Lnet/minecraft/client/particle/BlockDustParticle;sampleU:F
-
sampleV
private final float sampleV- Mappings:
Namespace Name Mixin selector official F
Lfil;F:F
intermediary field_17885
Lnet/minecraft/class_727;field_17885:F
named sampleV
Lnet/minecraft/client/particle/BlockDustParticle;sampleV:F
-
-
Constructor Details
-
BlockDustParticle
public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state) - Mappings:
Namespace Name Mixin selector official <init>
Lfil;<init>(Lfew;DDDDDDLdcb;)V
intermediary <init>
Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;)V
-
BlockDustParticle
public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state, BlockPos blockPos) - Mappings:
Namespace Name Mixin selector official <init>
Lfil;<init>(Lfew;DDDDDDLdcb;Lgu;)V
intermediary <init>
Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)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 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;
-
getMinU
protected float getMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinU
in classSpriteBillboardParticle
- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official c
Lfhz;c()F
intermediary method_18133
Lnet/minecraft/class_3940;method_18133()F
named getMinU
Lnet/minecraft/client/particle/BillboardParticle;getMinU()F
-
getMaxU
protected float getMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxU
in classSpriteBillboardParticle
- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official d
Lfhz;d()F
intermediary method_18134
Lnet/minecraft/class_3940;method_18134()F
named getMaxU
Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F
-
getMinV
protected float getMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinV
in classSpriteBillboardParticle
- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official e
Lfhz;e()F
intermediary method_18135
Lnet/minecraft/class_3940;method_18135()F
named getMinV
Lnet/minecraft/client/particle/BillboardParticle;getMinV()F
-
getMaxV
protected float getMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxV
in classSpriteBillboardParticle
- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official f
Lfhz;f()F
intermediary method_18136
Lnet/minecraft/class_3940;method_18136()F
named getMaxV
Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F
-
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 official a
Lfhm;a(F)I
intermediary method_3068
Lnet/minecraft/class_703;method_3068(F)I
named getBrightness
Lnet/minecraft/client/particle/Particle;getBrightness(F)I
-