Package net.minecraft.client.particle
Class BlockDustParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.BlockDustParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/BlockDustParticleintermediary net/minecraft/class_727official hiu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RenderType, BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockPosprivate final BillboardParticle.RenderTypeprivate final floatprivate final floatFields inherited from class net.minecraft.client.particle.BillboardParticle
alpha, blue, green, lastZRotation, red, scale, sprite, zRotation -
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 TypeMethodDescription(package private) static @Nullable BlockDustParticlecreate(BlockStateParticleEffect parameters, ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) intgetBrightness(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.Methods inherited from class net.minecraft.client.particle.BillboardParticle
getRotator, getSize, render, render, renderVertex, scale, setAlpha, setColor, setSprite, textureSheet, toString, updateSpriteMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity, tick
-
Field Details
-
renderType
- Mappings:
Namespace Name Mixin selector named renderTypeLnet/minecraft/client/particle/BlockDustParticle;renderType:Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary field_64558Lnet/minecraft/class_727;field_64558:Lnet/minecraft/class_3940$class_11941;official aLhiu;a:Lhii$b;
-
blockPos
- Mappings:
Namespace Name Mixin selector named blockPosLnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;intermediary field_3891Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;official bLhiu;b:Lis;
-
sampleU
private final float sampleU- Mappings:
Namespace Name Mixin selector named sampleULnet/minecraft/client/particle/BlockDustParticle;sampleU:Fintermediary field_17884Lnet/minecraft/class_727;field_17884:Fofficial FLhiu;F:F
-
sampleV
private final float sampleV- Mappings:
Namespace Name Mixin selector named sampleVLnet/minecraft/client/particle/BlockDustParticle;sampleV:Fintermediary field_17885Lnet/minecraft/class_727;field_17885:Fofficial GLhiu;G: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 named <init>Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;)Vintermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)Vofficial <init>Lhiu;<init>(Lheh;DDDDDDLend;)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 named <init>Lnet/minecraft/client/particle/BlockDustParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary <init>Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial <init>Lhiu;<init>(Lheh;DDDDDDLend;Lis;)V
-
-
Method Details
-
getRenderType
- Specified by:
getRenderTypein classBillboardParticle- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/client/particle/BillboardParticle;getRenderType()Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary method_74255Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;official bLhii;b()Lhii$b;
-
getMinU
protected float getMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinUin classBillboardParticle- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMinULnet/minecraft/client/particle/BillboardParticle;getMinU()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fofficial cLhii;c()F
-
getMaxU
protected float getMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxUin classBillboardParticle- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMaxULnet/minecraft/client/particle/BillboardParticle;getMaxU()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fofficial dLhii;d()F
-
getMinV
protected float getMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinVin classBillboardParticle- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMinVLnet/minecraft/client/particle/BillboardParticle;getMinV()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fofficial eLhii;e()F
-
getMaxV
protected float getMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxVin classBillboardParticle- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMaxVLnet/minecraft/client/particle/BillboardParticle;getMaxV()Fintermediary method_18136Lnet/minecraft/class_3940;method_18136()Fofficial fLhii;f()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 named getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Iofficial aLhhs;a(F)I
-
create
static @Nullable BlockDustParticle create(BlockStateParticleEffect parameters, ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/particle/BlockDustParticle;create(Lnet/minecraft/particle/BlockStateParticleEffect;Lnet/minecraft/client/world/ClientWorld;DDDDDD)Lnet/minecraft/client/particle/BlockDustParticle;intermediary method_58750Lnet/minecraft/class_727;method_58750(Lnet/minecraft/class_2388;Lnet/minecraft/class_638;DDDDDD)Lnet/minecraft/class_727;official aLhiu;a(Llp;Lheh;DDDDDD)Lhiu;
-