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/BlockDustParticle
intermediary net/minecraft/class_727
official gcc
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.Rotator
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha
-
Field Summary
Fields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
sprite
Fields inherited from class net.minecraft.client.particle.BillboardParticle
scale
Fields 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
ConstructorDescriptionBlockDustParticle
(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 BlockDustParticle
create
(BlockStateParticleEffect parameters, ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) int
getBrightness
(float tint) Returns the packed light level this particle should render at.protected float
getMaxU()
Returns the upper U coordinate of the UV coordinates used to draw this particle.protected float
getMaxV()
Returns the upper V coordinate of the UV coordinates used to draw this particle.protected float
getMinU()
Returns the lower U coordinate of the UV coordinates used to draw this particle.protected float
getMinV()
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, setSpriteForAge
Methods inherited from class net.minecraft.client.particle.BillboardParticle
buildGeometry, getRotator, getSize, scale
Methods 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 named blockPos
Lnet/minecraft/client/particle/BlockDustParticle;blockPos:Lnet/minecraft/util/math/BlockPos;
intermediary field_3891
Lnet/minecraft/class_727;field_3891:Lnet/minecraft/class_2338;
official a
Lgcc;a:Liz;
-
sampleU
private final float sampleU- Mappings:
Namespace Name Mixin selector named sampleU
Lnet/minecraft/client/particle/BlockDustParticle;sampleU:F
intermediary field_17884
Lnet/minecraft/class_727;field_17884:F
official b
Lgcc;b:F
-
sampleV
private final float sampleV- Mappings:
Namespace Name Mixin selector named sampleV
Lnet/minecraft/client/particle/BlockDustParticle;sampleV:F
intermediary field_17885
Lnet/minecraft/class_727;field_17885:F
official F
Lgcc;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;)V
intermediary <init>
Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;)V
official <init>
Lgcc;<init>(Lfxw;DDDDDDLdsd;)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;)V
intermediary <init>
Lnet/minecraft/class_727;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
official <init>
Lgcc;<init>(Lfxw;DDDDDDLdsd;Liz;)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:
getType
in classParticle
- Returns:
- the rendering category this particle is rendered under
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
intermediary method_18122
Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;
official b
Lgbd;b()Lgbh;
-
getMinU
protected float getMinU()Returns the lower U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinU
in classSpriteBillboardParticle
- Returns:
- the lower U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMinU
Lnet/minecraft/client/particle/BillboardParticle;getMinU()F
intermediary method_18133
Lnet/minecraft/class_3940;method_18133()F
official c
Lgbq;c()F
-
getMaxU
protected float getMaxU()Returns the upper U coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxU
in classSpriteBillboardParticle
- Returns:
- the upper U coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMaxU
Lnet/minecraft/client/particle/BillboardParticle;getMaxU()F
intermediary method_18134
Lnet/minecraft/class_3940;method_18134()F
official d
Lgbq;d()F
-
getMinV
protected float getMinV()Returns the lower V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMinV
in classSpriteBillboardParticle
- Returns:
- the lower V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMinV
Lnet/minecraft/client/particle/BillboardParticle;getMinV()F
intermediary method_18135
Lnet/minecraft/class_3940;method_18135()F
official e
Lgbq;e()F
-
getMaxV
protected float getMaxV()Returns the upper V coordinate of the UV coordinates used to draw this particle.- Overrides:
getMaxV
in classSpriteBillboardParticle
- Returns:
- the upper V coordinate of the UV coordinates used to draw this particle
- Mappings:
Namespace Name Mixin selector named getMaxV
Lnet/minecraft/client/particle/BillboardParticle;getMaxV()F
intermediary method_18136
Lnet/minecraft/class_3940;method_18136()F
official f
Lgbq;f()F
-
getBrightness
public int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
getBrightness
in classParticle
- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/client/particle/Particle;getBrightness(F)I
intermediary method_3068
Lnet/minecraft/class_703;method_3068(F)I
official a
Lgbd;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 create
Lnet/minecraft/client/particle/BlockDustParticle;create(Lnet/minecraft/particle/BlockStateParticleEffect;Lnet/minecraft/client/world/ClientWorld;DDDDDD)Lnet/minecraft/client/particle/BlockDustParticle;
intermediary method_58750
Lnet/minecraft/class_727;method_58750(Lnet/minecraft/class_2388;Lnet/minecraft/class_638;DDDDDD)Lnet/minecraft/class_727;
official a
Lgcc;a(Lla;Lfxw;DDDDDD)Lgcc;
-