Class Line

java.lang.Object
foundry.veil.api.quasar.fx.Line

public class Line extends Object
  • Constructor Details

  • Method Details

    • setCurveMode

      public void setCurveMode(Line.CurveMode curveMode)
    • setTilingMode

      public void setTilingMode(Line.TilingMode tilingMode)
    • setTexture

      public void setTexture(net.minecraft.resources.ResourceLocation texture)
    • setFrequency

      public void setFrequency(int frequency)
    • setMinDistance

      public void setMinDistance(float minDistance)
    • setPoints

      public void setPoints(net.minecraft.world.phys.Vec3[] points)
    • setColor

      public void setColor(int color)
    • setWidthFunction

      public void setWidthFunction(Function<Float,Float> widthFunction)
    • setLength

      public void setLength(int length)
    • setBillboard

      public void setBillboard(boolean billboard)
    • getPoints

      public net.minecraft.world.phys.Vec3[] getPoints()
    • getColor

      public int getColor()
    • getWidthFunction

      public Function<Float,Float> getWidthFunction()
    • getLength

      public int getLength()
    • getBillboard

      public boolean getBillboard()
    • getTilingMode

      public Line.TilingMode getTilingMode()
    • getFrequency

      public int getFrequency()
    • getMinDistance

      public float getMinDistance()
    • getTexture

      public net.minecraft.resources.ResourceLocation getTexture()
    • getCurveMode

      public Line.CurveMode getCurveMode()
    • addPoint

      public void addPoint(net.minecraft.world.phys.Vec3 point)
    • removePoint

      public void removePoint(int index)
    • setupCurvePoints

      public net.minecraft.world.phys.Vec3[] setupCurvePoints()
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int light)