public class PortalParticle extends SpriteTexturedParticle
Modifier and Type | Class and Description |
---|---|
static class |
PortalParticle.Factory |
Modifier and Type | Field and Description |
---|---|
private double |
portalPosX |
private double |
portalPosY |
private double |
portalPosZ |
sprite
particleScale
age, canCollide, height, isExpired, maxAge, motionX, motionY, motionZ, onGround, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleRed, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world
Modifier | Constructor and Description |
---|---|
private |
PortalParticle(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn) |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessForRender(float partialTick) |
IParticleRenderType |
getRenderType() |
float |
getScale(float scaleFactor) |
void |
move(double x,
double y,
double z) |
void |
tick() |
getMaxU, getMaxV, getMinU, getMinV, selectSpriteRandomly, selectSpriteWithAge, setSprite
multipleParticleScaleBy, renderParticle
getBoundingBox, getMaxAge, isAlive, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, toString
private final double portalPosX
private final double portalPosY
private final double portalPosZ
private PortalParticle(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn)
public IParticleRenderType getRenderType()
getRenderType
in class Particle
public float getScale(float scaleFactor)
getScale
in class TexturedParticle
public int getBrightnessForRender(float partialTick)
getBrightnessForRender
in class Particle