Package foundry.veil.api.quasar.fx
Class Line
java.lang.Object
foundry.veil.api.quasar.fx.Line
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPoint
(net.minecraft.world.phys.Vec3 point) boolean
int
getColor()
int
int
float
net.minecraft.world.phys.Vec3[]
net.minecraft.resources.ResourceLocation
void
removePoint
(int index) void
render
(com.mojang.blaze3d.vertex.PoseStack stack, com.mojang.blaze3d.vertex.VertexConsumer consumer, int light) void
setBillboard
(boolean billboard) void
setColor
(int color) void
setCurveMode
(Line.CurveMode curveMode) void
setFrequency
(int frequency) void
setLength
(int length) void
setMinDistance
(float minDistance) void
setPoints
(net.minecraft.world.phys.Vec3[] points) void
setTexture
(net.minecraft.resources.ResourceLocation texture) void
setTilingMode
(Line.TilingMode tilingMode) net.minecraft.world.phys.Vec3[]
void
setWidthFunction
(Function<Float, Float> widthFunction)
-
Constructor Details
-
Line
-
Line
-
-
Method Details
-
setCurveMode
-
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) -
setWidthFunction
-
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
-
getLength
public int getLength() -
getBillboard
public boolean getBillboard() -
getTilingMode
-
getFrequency
public int getFrequency() -
getMinDistance
public float getMinDistance() -
getTexture
public net.minecraft.resources.ResourceLocation getTexture() -
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)
-