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 fiaintermediary 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
Modifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.protected floatgetMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.protected floatgetMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.protected floatgetMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.protected floatgetMinV()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, 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 aLfia;a:Lgu;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 bLfia;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 FLfia;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>Lfia;<init>(Lfel;DDDDDDLdby;)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>Lfia;<init>(Lfel;DDDDDDLdby;Lgu;)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 this particle is rendered under.For more information on the properties and types available to each
Particle, visitParticleTextureSheet.- Specified by:
getTypein classParticle- Returns:
- the rendering category this particle is rendered under
- Mappings:
Namespace Name Mixin selector official bLfhb;b()Lfhf;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()Returns the lower U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinUin classSpriteBillboardParticle- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official cLfho;c()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fnamed getMinULnet/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:
getMaxUin classSpriteBillboardParticle- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official dLfho;d()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fnamed getMaxULnet/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:
getMinVin classSpriteBillboardParticle- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official eLfho;e()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fnamed getMinVLnet/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:
getMaxVin classSpriteBillboardParticle- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector official fLfho;f()Fintermediary method_18136Lnet/minecraft/class_3940;method_18136()Fnamed getMaxVLnet/minecraft/client/particle/BillboardParticle;getMaxV()F
-
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 official aLfhb;a(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Inamed getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)I
-