Class TrailSettings
java.lang.Object
foundry.veil.api.quasar.emitters.module.render.TrailSettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTrailSettings
(int trailFrequency, int trailLength, org.joml.Vector4fc trailColor, TrailSettings.TrailWidthModifier trailWidthModifier, net.minecraft.resources.ResourceLocation trailTexture, TrailSettings.TrailPointModifier trailPointModifier, Trail.TilingMode tilingMode, boolean billboard, boolean parentRotation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
org.joml.Vector4f
int
int
net.minecraft.resources.ResourceLocation
void
void
setBillboard
(boolean billboard) void
setParentRotation
(boolean parentRotation) void
setTilingMode
(Trail.TilingMode tilingMode) void
setTrailColor
(org.joml.Vector4f trailColor) void
setTrailFrequency
(int trailFrequency) void
setTrailLength
(int trailLength) void
setTrailPointModifier
(TrailSettings.TrailPointModifier trailPointModifier) void
setTrailTexture
(net.minecraft.resources.ResourceLocation trailTexture) void
setTrailWidthModifier
(TrailSettings.TrailWidthModifier trailWidthModifier)
-
Field Details
-
CODEC
-
-
Constructor Details
-
TrailSettings
public TrailSettings(int trailFrequency, int trailLength, org.joml.Vector4fc trailColor, TrailSettings.TrailWidthModifier trailWidthModifier, net.minecraft.resources.ResourceLocation trailTexture, TrailSettings.TrailPointModifier trailPointModifier, Trail.TilingMode tilingMode, boolean billboard, boolean parentRotation)
-
-
Method Details
-
setParentRotation
public void setParentRotation(boolean parentRotation) -
getParentRotation
public boolean getParentRotation() -
setBillboard
public void setBillboard(boolean billboard) -
getBillboard
public boolean getBillboard() -
setTilingMode
-
getTilingMode
-
setTrailPointModifier
-
getTrailPointModifier
-
setTrailFrequency
public void setTrailFrequency(int trailFrequency) -
setTrailLength
public void setTrailLength(int trailLength) -
setTrailColor
public void setTrailColor(org.joml.Vector4f trailColor) -
setTrailWidthModifier
-
setTrailTexture
public void setTrailTexture(net.minecraft.resources.ResourceLocation trailTexture) -
getTrailFrequency
public int getTrailFrequency() -
getTrailLength
public int getTrailLength() -
getTrailColor
public org.joml.Vector4f getTrailColor() -
getTrailWidthModifier
-
getTrailTexture
public net.minecraft.resources.ResourceLocation getTrailTexture() -
renderImGuiSettings
public void renderImGuiSettings()
-