public abstract class AnimatedSceneElement extends PonderSceneElement
| Modifier and Type | Field and Description |
|---|---|
protected LerpedFloat |
fade |
protected net.minecraft.util.math.vector.Vector3d |
fadeVec |
| Constructor and Description |
|---|
AnimatedSceneElement() |
| Modifier and Type | Method and Description |
|---|---|
protected float |
applyFade(com.mojang.blaze3d.matrix.MatrixStack ms,
float pt) |
void |
forceApplyFade(float fade) |
protected int |
lightCoordsFromFade(float fade) |
void |
renderFirst(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
com.mojang.blaze3d.matrix.MatrixStack ms,
float pt) |
protected void |
renderFirst(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
com.mojang.blaze3d.matrix.MatrixStack ms,
float fade,
float pt) |
void |
renderLast(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
com.mojang.blaze3d.matrix.MatrixStack ms,
float pt) |
protected void |
renderLast(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
com.mojang.blaze3d.matrix.MatrixStack ms,
float fade,
float pt) |
void |
renderLayer(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
net.minecraft.client.renderer.RenderType type,
com.mojang.blaze3d.matrix.MatrixStack ms,
float pt) |
protected void |
renderLayer(PonderWorld world,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
net.minecraft.client.renderer.RenderType type,
com.mojang.blaze3d.matrix.MatrixStack ms,
float fade,
float pt) |
void |
setFade(float fade) |
void |
setFadeVec(net.minecraft.util.math.vector.Vector3d fadeVec) |
isVisible, reset, setVisible, tick, whileSkippingprotected net.minecraft.util.math.vector.Vector3d fadeVec
protected LerpedFloat fade
public void forceApplyFade(float fade)
public void setFade(float fade)
public void setFadeVec(net.minecraft.util.math.vector.Vector3d fadeVec)
public final void renderFirst(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, com.mojang.blaze3d.matrix.MatrixStack ms, float pt)
renderFirst in class PonderSceneElementpublic final void renderLayer(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.matrix.MatrixStack ms, float pt)
renderLayer in class PonderSceneElementpublic final void renderLast(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, com.mojang.blaze3d.matrix.MatrixStack ms, float pt)
renderLast in class PonderSceneElementprotected float applyFade(com.mojang.blaze3d.matrix.MatrixStack ms,
float pt)
protected void renderLayer(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.matrix.MatrixStack ms, float fade, float pt)
protected void renderFirst(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, com.mojang.blaze3d.matrix.MatrixStack ms, float fade, float pt)
protected void renderLast(PonderWorld world, net.minecraft.client.renderer.IRenderTypeBuffer buffer, com.mojang.blaze3d.matrix.MatrixStack ms, float fade, float pt)
protected int lightCoordsFromFade(float fade)