Package foundry.veil.api.quasar.particle
Class RenderData
java.lang.Object
foundry.veil.api.quasar.particle.RenderData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
getAlpha()
net.minecraft.client.renderer.texture.TextureAtlasSprite
float
getBlue()
int
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
setFixedPackedLight
(int fixedPackedLight) void
setGreen
(float green) void
setRed
(float red) void
setSpriteData
(@Nullable SpriteData spriteData) void
tick
(QuasarParticle particle, int packedLight)
-
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() -
getPackedLight
public int getPackedLight() -
getFixedPackedLight
public int getFixedPackedLight() -
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) -
setFixedPackedLight
public void setFixedPackedLight(int fixedPackedLight) -
setSpriteData
-
setAtlasSprite
public void setAtlasSprite(@Nullable @Nullable net.minecraft.client.renderer.texture.TextureAtlasSprite atlasSprite)
-