Package foundry.veil.api.quasar.particle
Class RenderData
java.lang.Object
foundry.veil.api.quasar.particle.RenderData
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getAlpha()
net.minecraft.client.renderer.texture.TextureAtlasSprite
float
getBlue()
float
getGreen()
int
float
getRed()
float
org.joml.Vector3dc
float
org.joml.Vector3fc
net.minecraft.client.renderer.RenderType
@Nullable SpriteData
void
render
(QuasarParticle particle, float partialTicks) void
renderTrails
(MatrixStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.phys.Vec3 cameraPos, int packedLight) void
setAlpha
(float alpha) void
setAtlasSprite
(@Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite atlasSprite) void
setBlue
(float blue) void
setColor
(float red, float green, float blue, float alpha) void
setColor
(org.joml.Vector4fc color) void
setGreen
(float green) void
setRed
(float red) void
setSpriteData
(@Nullable SpriteData spriteData) void
tick
(QuasarParticle particle, int lightColor)
-
Field Details
-
renderAge
public float renderAge -
agePercent
public float agePercent
-
-
Constructor Details
-
RenderData
-
-
Method Details
-
tick
-
render
-
getRenderPosition
public org.joml.Vector3dc getRenderPosition() -
getRenderRotation
public org.joml.Vector3fc getRenderRotation() -
getRenderRadius
public float getRenderRadius() -
getRenderAge
public float getRenderAge() -
getAgePercent
public float getAgePercent() -
getLightColor
public int getLightColor() -
getRed
public float getRed() -
getGreen
public float getGreen() -
getBlue
public float getBlue() -
getAlpha
public float getAlpha() -
getSpriteData
-
getAtlasSprite
public net.minecraft.client.renderer.texture.TextureAtlasSprite getAtlasSprite() -
getRenderType
public net.minecraft.client.renderer.RenderType getRenderType() -
getTrails
-
renderTrails
public void renderTrails(MatrixStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.phys.Vec3 cameraPos, int packedLight) -
setRed
public void setRed(float red) -
setGreen
public void setGreen(float green) -
setBlue
public void setBlue(float blue) -
setAlpha
public void setAlpha(float alpha) -
setColor
public void setColor(float red, float green, float blue, float alpha) -
setColor
public void setColor(org.joml.Vector4fc color) -
setSpriteData
-
setAtlasSprite
public void setAtlasSprite(@Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite atlasSprite)
-