Class Trail

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

public class Trail extends Object
  • Constructor Details

  • Method Details

    • setParentRotation

      public void setParentRotation(boolean parentRotation)
    • setTilingMode

      public void setTilingMode(Trail.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)
    • setLength

      public void setLength(int length)
    • setBillboard

      public void setBillboard(boolean billboard)
    • setWidthFunction

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

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

      public int getLength()
    • pushPoint

      public void pushPoint(net.minecraft.world.phys.Vec3 point)
    • pushRotatedPoint

      public void pushRotatedPoint(net.minecraft.world.phys.Vec3 point, net.minecraft.world.phys.Vec3 rotation)
    • render

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