Class AnimatedSceneElement
java.lang.Object
com.simibubi.create.foundation.ponder.element.PonderElement
com.simibubi.create.foundation.ponder.element.PonderSceneElement
com.simibubi.create.foundation.ponder.element.AnimatedSceneElement
- Direct Known Subclasses:
MinecartElement,OutlinerElement,ParrotElement,WorldSectionElement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatapplyFade(com.mojang.blaze3d.vertex.PoseStack ms, float pt) voidforceApplyFade(float fade) protected intlightCoordsFromFade(float fade) final voidrenderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) protected voidrenderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) final voidrenderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) protected voidrenderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) final voidrenderLayer(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.vertex.PoseStack ms, float pt) protected voidrenderLayer(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) voidsetFade(float fade) voidsetFadeVec(net.minecraft.world.phys.Vec3 fadeVec) Methods inherited from class com.simibubi.create.foundation.ponder.element.PonderElement
isVisible, reset, setVisible, tick, whileSkipping
-
Field Details
-
fadeVec
protected net.minecraft.world.phys.Vec3 fadeVec -
fade
-
-
Constructor Details
-
AnimatedSceneElement
public AnimatedSceneElement()
-
-
Method Details
-
forceApplyFade
public void forceApplyFade(float fade) -
setFade
public void setFade(float fade) -
setFadeVec
public void setFadeVec(net.minecraft.world.phys.Vec3 fadeVec) -
renderFirst
public final void renderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) - Specified by:
renderFirstin classPonderSceneElement
-
renderLayer
public final void renderLayer(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.vertex.PoseStack ms, float pt) - Specified by:
renderLayerin classPonderSceneElement
-
renderLast
public final void renderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) - Specified by:
renderLastin classPonderSceneElement
-
applyFade
protected float applyFade(com.mojang.blaze3d.vertex.PoseStack ms, float pt) -
renderLayer
protected void renderLayer(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) -
renderFirst
protected void renderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) -
renderLast
protected void renderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float fade, float pt) -
lightCoordsFromFade
protected int lightCoordsFromFade(float fade)
-