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 faxintermediary net/minecraft/class_727named net/minecraft/client/particle/BlockDustParticle
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
spriteFields inherited from class net.minecraft.client.particle.BillboardParticle
scaleFields inherited from class net.minecraft.client.particle.Particle
age, alpha, angle, blue, collidesWithWorld, dead, field_28787, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionBlockDustParticle(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
Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticle
buildGeometry, getSize, scaleMethods 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 aLfax;a:Lgr;intermediary field_3891Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;named blockPosLnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;
-
sampleU
private final float sampleU- Mappings:
Namespace Name Mixin selector official bLfax;b:Fintermediary field_17884Lnet/minecraft/class_727;field_17884:Fnamed sampleULnet/minecraft/client/particle/BlockDustParticle;sampleU:F
-
sampleV
private final float sampleV- Mappings:
Namespace Name Mixin selector official FLfax;F:Fintermediary field_17885Lnet/minecraft/class_727;field_17885:Fnamed sampleVLnet/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>Lfax;<init>(Lexk;DDDDDDLcxu;)Vintermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)Vnamed <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>Lfax;<init>(Lexk;DDDDDDLcxu;Lgr;)Vintermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed <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 thisParticleis rendered under.For more information on the properties and types available to each
Particle, visitParticleTextureSheet.- Specified by:
getTypein classParticle- Returns:
- the
ParticleTextureSheetanyParticleof this type will render through - Mappings:
Namespace Name Mixin selector official bLezy;b()Lfac;intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;named getTypeLnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
-
getMinU
protected float getMinU()- Overrides:
getMinUin classSpriteBillboardParticle- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official cLfal;c()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fnamed getMinULnet/minecraft/client/particle/BillboardParticle;getMinU()F
-
getMaxU
protected float getMaxU()- Overrides:
getMaxUin classSpriteBillboardParticle- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official dLfal;d()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fnamed getMaxULnet/minecraft/client/particle/BillboardParticle;getMaxU()F
-
getMinV
protected float getMinV()- Overrides:
getMinVin classSpriteBillboardParticle- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official eLfal;e()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fnamed getMinVLnet/minecraft/client/particle/BillboardParticle;getMinV()F
-
getMaxV
protected float getMaxV()- Overrides:
getMaxVin classSpriteBillboardParticle- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official fLfal;f()Fintermediary method_18136Lnet/minecraft/class_3940;method_18136()Fnamed getMaxVLnet/minecraft/client/particle/BillboardParticle;getMaxV()F
-
getBrightness
public int getBrightness(float tint) - Overrides:
getBrightnessin classParticle- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector official aLezy;a(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Inamed getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)I
-