Class FrameSetScreenParticle
java.lang.Object
team.lodestar.lodestone.systems.particle.screen.base.ScreenParticle
team.lodestar.lodestone.systems.particle.screen.base.QuadScreenParticle
team.lodestar.lodestone.systems.particle.screen.base.TextureSheetScreenParticle
team.lodestar.lodestone.systems.particle.screen.GenericScreenParticle
team.lodestar.lodestone.systems.particle.screen.FrameSetScreenParticle
-
Field Summary
FieldsFields inherited from class team.lodestar.lodestone.systems.particle.screen.GenericScreenParticle
actor, colorData, discardFunctionType, scaleData, spinData, spritePicker, spriteSet, transparencyDataFields inherited from class team.lodestar.lodestone.systems.particle.screen.base.TextureSheetScreenParticle
spriteFields inherited from class team.lodestar.lodestone.systems.particle.screen.base.QuadScreenParticle
quadSize -
Constructor Summary
ConstructorsConstructorDescriptionFrameSetScreenParticle(net.minecraft.client.multiplayer.ClientLevel world, ScreenParticleOptions data, net.minecraft.client.particle.ParticleEngine.MutableSpriteSet spriteSet, double x, double y, double xMotion, double yMotion) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFrames(int min, int max) protected voidaddLoop(int min, int max, int times) protected voidinsertFrames(int insertIndex, int min, int max) voidsetSprite(int spriteIndex) voidtick()Methods inherited from class team.lodestar.lodestone.systems.particle.screen.GenericScreenParticle
getCurve, getRenderType, getSpritePicker, pickColor, pickSprite, render, setParticleSpeed, updateTraitsMethods inherited from class team.lodestar.lodestone.systems.particle.screen.base.TextureSheetScreenParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class team.lodestar.lodestone.systems.particle.screen.base.QuadScreenParticle
getQuadSize, getQuadZPositionMethods inherited from class team.lodestar.lodestone.systems.particle.screen.base.ScreenParticle
getLifetime, isAlive, remove, setAlpha, setColor, setLifetime, setParticleSpeed, setSize
-
Field Details
-
frameSet
-
-
Constructor Details
-
FrameSetScreenParticle
public FrameSetScreenParticle(net.minecraft.client.multiplayer.ClientLevel world, ScreenParticleOptions data, net.minecraft.client.particle.ParticleEngine.MutableSpriteSet spriteSet, double x, double y, double xMotion, double yMotion)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classGenericScreenParticle
-
setSprite
public void setSprite(int spriteIndex) -
addLoop
protected void addLoop(int min, int max, int times) -
addFrames
protected void addFrames(int min, int max) -
insertFrames
protected void insertFrames(int insertIndex, int min, int max)
-