net.minecraft.client.particle

public abstract class Particle

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

Field summary

Modifier and TypeField
private static final Box
INITIAL_AABB
field_3860
EMPTY_BOUNDING_BOX
private static final double
MAXIMUM_COLLISION_VELOCITY_SQUARED
field_36193
MAX_SQUARED_COLLISION_CHECK_DISTANCE
protected final ClientWorld
level
field_3851
world
protected double
xo
field_3858
lastX
protected double
yo
field_3838
lastY
protected double
zo
field_3856
lastZ
protected double
x
field_3874
x
protected double
y
field_3854
y
protected double
z
field_3871
z
protected double
xd
field_3852
velocityX
protected double
yd
field_3869
velocityY
protected double
zd
field_3850
velocityZ
private Box
bb
field_3872
boundingBox
protected boolean
onGround
field_3845
onGround
protected boolean
hasPhysics
field_3862
collidesWithWorld
private boolean
stoppedByCollision
field_21507
stopped
protected boolean
removed
field_3843
dead
protected float
bbWidth
field_3849
spacingXZ
protected float
bbHeight
field_3867
spacingY
protected final Random
random
field_3840
random
protected int
age
field_3866
age
protected int
lifetime
field_3847
maxAge
protected float
gravity
field_3844
gravityStrength
protected float
friction
field_28786
velocityMultiplier
protected boolean
speedUpWhenYMotionIsBlocked
field_28787
ascending

Constructor summary

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

Method summary

Modifier and TypeMethod
public Particle
setPower(float power)
method_3075(float arg0)
move(float speed)
public void
setParticleSpeed(double xd, double yd, double zd)
method_34753(double arg0, double arg1, double arg2)
setVelocity(double velocityX, double velocityY, double velocityZ)
public Particle
scale(float scale)
method_3087(float arg0)
scale(float scale)
public void
setLifetime(int lifetime)
method_3077(int arg0)
setMaxAge(int maxAge)
public int
getLifetime()
method_3082()
getMaxAge()
public void
tick()
method_3070()
tick()
public abstract ParticleTextureSheet
getGroup()
method_74274()
textureSheet()
public void
remove()
method_3085()
markDead()
protected void
setSize(float w, float h)
method_3080(float arg0, float arg1)
setBoundingBoxSpacing(float spacingXZ, float spacingY)
public void
setPos(double x, double y, double z)
method_3063(double arg0, double arg1, double arg2)
setPos(double x, double y, double z)
public void
move(double xa, double ya, double za)
method_3069(double arg0, double arg1, double arg2)
move(double dx, double dy, double dz)
protected void
setLocationFromBoundingbox()
method_3072()
repositionFromBoundingBox()
protected int
getLightCoords(float a)
method_3068(float arg0)
getLight(float tint)
public boolean
isAlive()
method_3086()
isAlive()
public Box
getBoundingBox()
method_3064()
getBoundingBox()
public void
setBoundingBox(AABB bb)
method_3067(class_238 arg0)
setBoundingBox(Box boundingBox)
public Optional<ParticleGroup>
getParticleLimit()
method_34019()
getGroup()