Class TrackedElement<T>
java.lang.Object
com.simibubi.create.foundation.ponder.element.PonderElement
com.simibubi.create.foundation.ponder.element.PonderSceneElement
com.simibubi.create.foundation.ponder.element.TrackedElement<T>
- Direct Known Subclasses:
BeltItemElement,EntityElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanisStillValid(T element) voidrenderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) voidrenderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) voidrenderLayer(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, net.minecraft.client.renderer.RenderType type, com.mojang.blaze3d.vertex.PoseStack ms, float pt) Methods inherited from class com.simibubi.create.foundation.ponder.element.PonderElement
isVisible, reset, setVisible, tick, whileSkipping
-
Constructor Details
-
TrackedElement
-
-
Method Details
-
ifPresent
-
isStillValid
-
renderFirst
public void renderFirst(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) - Specified by:
renderFirstin classPonderSceneElement
-
renderLayer
public 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 void renderLast(PonderWorld world, net.minecraft.client.renderer.MultiBufferSource buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt) - Specified by:
renderLastin classPonderSceneElement
-