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 |
spriteparticleScaleage, 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, setSpritemultipleParticleScaleBy, renderParticlegetBoundingBox, getMaxAge, isAlive, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, toStringprivate 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 Particlepublic float getScale(float scaleFactor)
getScale in class TexturedParticlepublic int getBrightnessForRender(float partialTick)
getBrightnessForRender in class Particle