Class RenderData

java.lang.Object
foundry.veil.api.quasar.particle.RenderData

public class RenderData extends Object
  • Field Details

    • renderAge

      public float renderAge
    • agePercent

      public float agePercent
  • Constructor Details

  • Method Details

    • tick

      @Internal public void tick(QuasarParticle particle, int lightColor)
    • render

      @Internal public void render(QuasarParticle particle, float partialTicks)
    • getRenderPosition

      public org.joml.Vector3dc getRenderPosition()
    • getRenderRotation

      public org.joml.Vector3fc getRenderRotation()
    • getRenderRadius

      public float getRenderRadius()
    • getRenderAge

      public float getRenderAge()
    • getAgePercent

      public float getAgePercent()
    • getLightColor

      public int getLightColor()
    • getRed

      public float getRed()
    • getGreen

      public float getGreen()
    • getBlue

      public float getBlue()
    • getAlpha

      public float getAlpha()
    • getSpriteData

      @Nullable public @Nullable SpriteData getSpriteData()
    • getAtlasSprite

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getAtlasSprite()
    • getRenderType

      public net.minecraft.client.renderer.RenderType getRenderType()
    • getTrails

      public List<Trail> getTrails()
    • renderTrails

      public void renderTrails(MatrixStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.phys.Vec3 cameraPos, int packedLight)
    • setRed

      public void setRed(float red)
    • setGreen

      public void setGreen(float green)
    • setBlue

      public void setBlue(float blue)
    • setAlpha

      public void setAlpha(float alpha)
    • setColor

      public void setColor(float red, float green, float blue, float alpha)
    • setColor

      public void setColor(org.joml.Vector4fc color)
    • setSpriteData

      public void setSpriteData(@Nullable @Nullable SpriteData spriteData)
    • setAtlasSprite

      public void setAtlasSprite(@Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite atlasSprite)