net.minecraft.client.particle

public abstract class Particle

gis
net.minecraft.client.particle.Particle
net.minecraft.class_703
net.minecraft.client.particle.Particle

Field summary

Modifier and TypeField
private static final AABB
a
INITIAL_AABB
field_3860
EMPTY_BOUNDING_BOX
private static final double
b
MAXIMUM_COLLISION_VELOCITY_SQUARED
field_36193
MAX_SQUARED_COLLISION_CHECK_DISTANCE
protected final ClientLevel
c
level
field_3851
world
protected double
d
xo
field_3858
prevPosX
protected double
e
yo
field_3838
prevPosY
protected double
f
zo
field_3856
prevPosZ
protected double
g
x
field_3874
x
protected double
h
y
field_3854
y
protected double
i
z
field_3871
z
protected double
j
xd
field_3852
velocityX
protected double
k
yd
field_3869
velocityY
protected double
l
zd
field_3850
velocityZ
private AABB
D
bb
field_3872
boundingBox
protected boolean
m
onGround
field_3845
onGround
protected boolean
n
hasPhysics
field_3862
collidesWithWorld
private boolean
E
stoppedByCollision
field_21507
stopped
protected boolean
o
removed
field_3843
dead
protected float
p
bbWidth
field_3849
spacingXZ
protected float
q
bbHeight
field_3867
spacingY
protected final RandomSource
r
random
field_3840
random
protected int
s
age
field_3866
age
protected int
t
lifetime
field_3847
maxAge
protected float
u
gravity
field_3844
gravityStrength
protected float
v
rCol
field_3861
red
protected float
w
gCol
field_3842
green
protected float
x
bCol
field_3859
blue
protected float
y
alpha
field_3841
alpha
protected float
z
roll
field_3839
angle
protected float
A
oRoll
field_3857
prevAngle
protected float
B
friction
field_28786
velocityMultiplier
protected boolean
C
speedUpWhenYMotionIsBlocked
field_28787
ascending

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)
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)
public Particle
d(float arg0)
scale(float arg0)
method_3087(float arg0)
scale(float scale)
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)
protected void
e(float arg0)
setAlpha(float arg0)
method_3083(float arg0)
setAlpha(float alpha)
public void
a(int arg0)
setLifetime(int arg0)
method_3077(int arg0)
setMaxAge(int maxAge)
public int
j()
getLifetime()
method_3082()
getMaxAge()
public void
a()
tick()
method_3070()
tick()
public abstract void
a(fgw arg0, flp 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)
public abstract ParticleRenderType
b()
getRenderType()
method_18122()
getType()
public void
k()
remove()
method_3085()
markDead()
protected void
b(float arg0, float arg1)
setSize(float arg0, float arg1)
method_3080(float arg0, float arg1)
setBoundingBoxSpacing(float spacingXZ, float spacingY)
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)
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)
protected void
l()
setLocationFromBoundingbox()
method_3072()
repositionFromBoundingBox()
protected int
a(float arg0)
getLightColor(float arg0)
method_3068(float arg0)
getBrightness(float tint)
public boolean
m()
isAlive()
method_3086()
isAlive()
public AABB
n()
getBoundingBox()
method_3064()
getBoundingBox()
public void
a(fbt arg0)
setBoundingBox(AABB arg0)
method_3067(class_238 arg0)
setBoundingBox(Box boundingBox)
public Optional<ParticleGroup>
o()
getParticleGroup()
method_34019()
getGroup()