net.minecraft.client.particle

public abstract class Particle

exk
net.minecraft.client.particle.Particle
net.minecraft.class_703
net.minecraft.client.particle.Particle
net.minecraft.src.C_4022_

Field summary

Modifier and TypeField
private static final AABB
a
INITIAL_AABB
field_3860
EMPTY_BOUNDING_BOX
f_107206_
private static final double
b
MAXIMUM_COLLISION_VELOCITY_SQUARED
field_36193
MAX_SQUARED_COLLISION_CHECK_DISTANCE
f_197408_
protected final ClientLevel
c
level
field_3851
world
f_107208_
protected double
d
xo
field_3858
prevPosX
f_107209_
protected double
e
yo
field_3838
prevPosY
f_107210_
protected double
f
zo
field_3856
prevPosZ
f_107211_
protected double
g
x
field_3874
x
f_107212_
protected double
h
y
field_3854
y
f_107213_
protected double
i
z
field_3871
z
f_107214_
protected double
j
xd
field_3852
velocityX
f_107215_
protected double
k
yd
field_3869
velocityY
f_107216_
protected double
l
zd
field_3850
velocityZ
f_107217_
private AABB
D
bb
field_3872
boundingBox
f_107207_
protected boolean
m
onGround
field_3845
onGround
f_107218_
protected boolean
n
hasPhysics
field_3862
collidesWithWorld
f_107219_
private boolean
E
stoppedByCollision
field_21507
field_21507
f_107205_
protected boolean
o
removed
field_3843
dead
f_107220_
protected float
p
bbWidth
field_3849
spacingXZ
f_107221_
protected float
q
bbHeight
field_3867
spacingY
f_107222_
protected final RandomSource
r
random
field_3840
random
f_107223_
protected int
s
age
field_3866
age
f_107224_
protected int
t
lifetime
field_3847
maxAge
f_107225_
protected float
u
gravity
field_3844
gravityStrength
f_107226_
protected float
v
rCol
field_3861
red
f_107227_
protected float
w
gCol
field_3842
green
f_107228_
protected float
x
bCol
field_3859
blue
f_107229_
protected float
y
alpha
field_3841
alpha
f_107230_
protected float
z
roll
field_3839
angle
f_107231_
protected float
A
oRoll
field_3857
prevAngle
f_107204_
protected float
B
friction
field_28786
velocityMultiplier
f_172258_
protected boolean
C
speedUpWhenYMotionIsBlocked
field_28787
field_28787
f_172259_

Constructor summary

ModifierConstructor
protected (ClientLevel world, double x, double y, double z)
public (ClientLevel world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)

Method summary

Modifier and TypeMethod
public Particle
c(float arg0)
setPower(float arg0)
method_3075(float arg0)
move(float speed)
m_107268_(float arg0)
public void
b(double arg0, double arg1, double arg2)
setParticleSpeed(double arg0, double arg1, double arg2)
method_34753(double arg0, double arg1, double arg2)
setVelocity(double velocityX, double velocityY, double velocityZ)
m_172260_(double p_172262_, double arg1, double arg2)
public Particle
d(float arg0)
scale(float arg0)
method_3087(float arg0)
scale(float scale)
m_6569_(float arg0)
public void
a(float arg0, float arg1, float arg2)
setColor(float arg0, float arg1, float arg2)
method_3084(float arg0, float arg1, float arg2)
setColor(float red, float green, float blue)
m_107253_(float p_107255_, float p_107256_, float arg2)
protected void
e(float arg0)
setAlpha(float arg0)
method_3083(float arg0)
setAlpha(float alpha)
m_107271_(float arg0)
public void
a(int arg0)
setLifetime(int arg0)
method_3077(int arg0)
setMaxAge(int maxAge)
m_107257_(int arg0)
public int
j()
getLifetime()
method_3082()
getMaxAge()
m_107273_()
public void
a()
tick()
method_3070()
tick()
m_5989_()
public abstract void
a(eau arg0, eff arg1, float arg2)
render(VertexConsumer arg0, Camera arg1, float arg2)
method_3074(class_4588 arg0, class_4184 arg1, float arg2)
buildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)
m_5744_(C_3187_ p_107262_, C_3373_ p_107263_, float arg2)
public abstract ParticleRenderType
b()
getRenderType()
method_18122()
getType()
m_7556_()
public void
k()
remove()
method_3085()
markDead()
m_107274_()
protected void
b(float arg0, float arg1)
setSize(float arg0, float arg1)
method_3080(float arg0, float arg1)
setBoundingBoxSpacing(float spacingXZ, float spacingY)
m_107250_(float p_107252_, float arg1)
public void
c(double arg0, double arg1, double arg2)
setPos(double arg0, double arg1, double arg2)
method_3063(double arg0, double arg1, double arg2)
setPos(double x, double y, double z)
m_107264_(double p_107266_, double arg1, double arg2)
public void
a(double arg0, double arg1, double arg2)
move(double arg0, double arg1, double arg2)
method_3069(double arg0, double arg1, double arg2)
move(double dx, double dy, double dz)
m_6257_(double p_107247_, double arg1, double arg2)
protected void
l()
setLocationFromBoundingbox()
method_3072()
repositionFromBoundingBox()
m_107275_()
protected int
a(float arg0)
getLightColor(float arg0)
method_3068(float arg0)
getBrightness(float tint)
m_6355_(float arg0)
public boolean
m()
isAlive()
method_3086()
isAlive()
m_107276_()
public AABB
n()
getBoundingBox()
method_3064()
getBoundingBox()
m_107277_()
public void
a(dwl arg0)
setBoundingBox(AABB arg0)
method_3067(class_238 arg0)
setBoundingBox(Box boundingBox)
m_107259_(C_3040_ arg0)
public Optional<ParticleGroup>
o()
getParticleGroup()
method_34019()
getGroup()
m_142654_()