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 named net/minecraft/client/particle/BlockDustParticleintermediary net/minecraft/class_727official gkh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
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, ascending, blue, collidesWithWorld, dead, 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 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.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
getRotator, getSize, method_60373, method_60374, render, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, tick, toString
-
Field Details
-
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 aLgkh;a:Lji;
-
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 bLgkh;b: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 FLgkh;F: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>Lgkh;<init>(Lgga;DDDDDDLdwy;)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>Lgkh;<init>(Lgga;DDDDDDLdwy;Lji;)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 named getTypeLnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;official bLgji;b()Lgjm;
-
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 named getMinULnet/minecraft/client/particle/BillboardParticle;getMinU()Fintermediary method_18133Lnet/minecraft/class_3940;method_18133()Fofficial cLgjv;c()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 named getMaxULnet/minecraft/client/particle/BillboardParticle;getMaxU()Fintermediary method_18134Lnet/minecraft/class_3940;method_18134()Fofficial dLgjv;d()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 named getMinVLnet/minecraft/client/particle/BillboardParticle;getMinV()Fintermediary method_18135Lnet/minecraft/class_3940;method_18135()Fofficial eLgjv;e()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 named getMaxVLnet/minecraft/client/particle/BillboardParticle;getMaxV()Fintermediary method_18136Lnet/minecraft/class_3940;method_18136()Fofficial fLgjv;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 aLgji;a(F)I
-
create
@Nullable 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 aLgkh;a(Lll;Lgga;DDDDDD)Lgkh;
-