public abstract class TexturedParticle extends Particle
Modifier and Type | Field and Description |
---|---|
protected float |
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 |
---|---|
protected |
TexturedParticle(World worldIn,
double posXIn,
double posYIn,
double posZIn) |
protected |
TexturedParticle(World worldIn,
double xCoord,
double yCoord,
double zCoord,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn) |
Modifier and Type | Method and Description |
---|---|
protected abstract float |
getMaxU() |
protected abstract float |
getMaxV() |
protected abstract float |
getMinU() |
protected abstract float |
getMinV() |
float |
getScale(float scaleFactor) |
Particle |
multipleParticleScaleBy(float scale) |
void |
renderParticle(IVertexBuilder buffer,
ActiveRenderInfo renderInfo,
float partialTicks) |
getBoundingBox, getBrightnessForRender, getMaxAge, getRenderType, isAlive, move, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, tick, toString
protected TexturedParticle(World worldIn, double posXIn, double posYIn, double posZIn)
protected TexturedParticle(World worldIn, double xCoord, double yCoord, double zCoord, double xSpeedIn, double ySpeedIn, double zSpeedIn)
public void renderParticle(IVertexBuilder buffer, ActiveRenderInfo renderInfo, float partialTicks)
renderParticle
in class Particle
public float getScale(float scaleFactor)
public Particle multipleParticleScaleBy(float scale)
multipleParticleScaleBy
in class Particle
protected abstract float getMinU()
protected abstract float getMaxU()
protected abstract float getMinV()
protected abstract float getMaxV()