public class ParticlePortal extends Particle
Modifier and Type | Class and Description |
---|---|
static class |
ParticlePortal.Factory |
Modifier and Type | Field and Description |
---|---|
private float |
portalParticleScale |
private double |
portalPosX |
private double |
portalPosY |
private double |
portalPosZ |
cameraViewDir, canCollide, height, interpPosX, interpPosY, interpPosZ, isExpired, motionX, motionY, motionZ, onGround, particleAge, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleMaxAge, particleRed, particleScale, particleTexture, particleTextureIndexX, particleTextureIndexY, particleTextureJitterX, particleTextureJitterY, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world
Modifier | Constructor and Description |
---|---|
protected |
ParticlePortal(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn) |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessForRender(float p_189214_1_) |
void |
move(double x,
double y,
double z) |
void |
onUpdate() |
void |
renderParticle(BufferBuilder buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
getBlueColorF, getBoundingBox, getFXLayer, getGreenColorF, getRedColorF, isAlive, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, shouldDisableDepth, toString
private final float portalParticleScale
private final double portalPosX
private final double portalPosY
private final double portalPosZ
protected ParticlePortal(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn)
public void renderParticle(BufferBuilder buffer, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
renderParticle
in class Particle
public int getBrightnessForRender(float p_189214_1_)
getBrightnessForRender
in class Particle