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
@Environment(CLIENT) public class BlockDustParticle extends SpriteBillboardParticle
- Mappings:
Namespace Name official efpintermediary net/minecraft/class_727named net/minecraft/client/particle/BlockDustParticle
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockDustParticle.Factory -
Field Summary
Fields Modifier and Type Field Description private BlockPosblockPosprivate BlockStateblockStateprivate floatsampleUprivate floatsampleVFields 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, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z -
Constructor Summary
Constructors Constructor Description BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState blockState) -
Method Summary
Modifier and Type Method Description intgetBrightness(float tint)protected floatgetMaxU()protected floatgetMaxV()protected floatgetMinU()protected floatgetMinV()ParticleTextureSheetgetType()BlockDustParticlesetBlockPos(BlockPos blockPos)BlockDustParticlesetBlockPosFromPosition()protected voidupdateColor(BlockPos blockPos)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, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toString
-
Field Details
-
blockState
- Mappings:
Namespace Name Mixin selector official aLefp;a:Lchg;intermediary field_3892Lnet/minecraft/class_727;field_3892:Lnet/minecraft/class_2680;named blockStateLnet/minecraft/client/particle/BlockDustParticle;blockState:Lnet/minecraft/block/BlockState;
-
blockPos
- Mappings:
Namespace Name Mixin selector official bLefp;b:Lfx;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 DLefp;D: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 ELefp;E: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 blockState)- Mappings:
Namespace Name Mixin selector official <init>Lefp;<init>(Lede;DDDDDDLchg;)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
-
-
Method Details
-
getType
- Specified by:
getTypein classParticle- Mappings:
Namespace Name Mixin selector official bLeeu;b()Leey;intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;named getTypeLnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
-
setBlockPos
- Mappings:
Namespace Name Mixin selector official aLefp;a(Lfx;)Lefp;intermediary method_3108Lnet/minecraft/class_727;method_3108(Lnet/minecraft/class_2338;)Lnet/minecraft/class_727;named setBlockPosLnet/minecraft/client/particle/BlockDustParticle;setBlockPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/client/particle/BlockDustParticle;
-
setBlockPosFromPosition
- Mappings:
Namespace Name Mixin selector official gLefp;g()Lefp;intermediary method_3106Lnet/minecraft/class_727;method_3106()Lnet/minecraft/class_727;named setBlockPosFromPositionLnet/minecraft/client/particle/BlockDustParticle;setBlockPosFromPosition()Lnet/minecraft/client/particle/BlockDustParticle;
-
updateColor
- Mappings:
Namespace Name Mixin selector official bLefp;b(Lfx;)Vintermediary method_3107Lnet/minecraft/class_727;method_3107(Lnet/minecraft/class_2338;)Vnamed updateColorLnet/minecraft/client/particle/BlockDustParticle;updateColor(Lnet/minecraft/util/math/BlockPos;)V
-
getMinU
protected float getMinU()- Overrides:
getMinUin classSpriteBillboardParticle- Mappings:
Namespace Name Mixin selector official cLefe;c()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fnamed getMinULnet/minecraft/client/particle/BillboardParticle;getMinU()F
-
getMaxU
protected float getMaxU()- Overrides:
getMaxUin classSpriteBillboardParticle- Mappings:
Namespace Name Mixin selector official dLefe;d()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fnamed getMaxULnet/minecraft/client/particle/BillboardParticle;getMaxU()F
-
getMinV
protected float getMinV()- Overrides:
getMinVin classSpriteBillboardParticle- Mappings:
Namespace Name Mixin selector official eLefe;e()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fnamed getMinVLnet/minecraft/client/particle/BillboardParticle;getMinV()F
-
getMaxV
protected float getMaxV()- Overrides:
getMaxVin classSpriteBillboardParticle- Mappings:
Namespace Name Mixin selector official fLefe;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- Mappings:
Namespace Name Mixin selector official aLeeu;a(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Inamed getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)I
-