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 intermediary net/minecraft/class_727official fianamed 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 intermediary field_3891Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;official aLfia;a:Lgu;named blockPosLnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;
-
sampleU
private final float sampleU- Mappings:
Namespace Name Mixin selector intermediary field_17884Lnet/minecraft/class_727;field_17884:Fofficial bLfia;b:Fnamed sampleULnet/minecraft/client/particle/BlockDustParticle;sampleU:F
-
sampleV
private final float sampleV- Mappings:
Namespace Name Mixin selector intermediary field_17885Lnet/minecraft/class_727;field_17885:Fofficial FLfia;F: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 intermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)Vofficial <init>Lfia;<init>(Lfel;DDDDDDLdby;)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 intermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial <init>Lfia;<init>(Lfel;DDDDDDLdby;Lgu;)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 intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;official bLfhb;b()Lfhf;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 intermediary method_18133Lnet/minecraft/class_3940;method_18133()Fofficial cLfho;c()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 intermediary method_18134Lnet/minecraft/class_3940;method_18134()Fofficial dLfho;d()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 intermediary method_18135Lnet/minecraft/class_3940;method_18135()Fofficial eLfho;e()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 intermediary method_18136Lnet/minecraft/class_3940;method_18136()Fofficial fLfho;f()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 intermediary method_3068Lnet/minecraft/class_703;method_3068(F)Iofficial aLfhb;a(F)Inamed getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)I
-