Package foundry.veil.api.quasar.fx
Class Trail
java.lang.Object
foundry.veil.api.quasar.fx.Trail
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
net.minecraft.resources.ResourceLocation
void
pushPoint
(net.minecraft.world.phys.Vec3 point) void
pushRotatedPoint
(net.minecraft.world.phys.Vec3 point, net.minecraft.world.phys.Vec3 rotation) void
render
(MatrixStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int light) void
setBillboard
(boolean billboard) void
setColor
(int color) void
setFrequency
(int frequency) void
setLength
(int length) void
setMinDistance
(float minDistance) void
setParentRotation
(boolean parentRotation) void
setPoints
(net.minecraft.world.phys.Vec3[] points) void
setTexture
(net.minecraft.resources.ResourceLocation texture) void
setTilingMode
(Trail.TilingMode tilingMode) void
setWidthFunction
(Function<Float, Float> widthFunction)
-
Constructor Details
-
Trail
-
Trail
-
Trail
-
-
Method Details
-
setParentRotation
public void setParentRotation(boolean parentRotation) -
setTilingMode
-
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
-
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
-