java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionRenderInfo
Direct Known Subclasses:
FlwContraption

public class ContraptionRenderInfo extends Object
  • Field Details

    • contraption

      public final Contraption contraption
    • renderWorld

      public final com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld
  • Constructor Details

    • ContraptionRenderInfo

      public ContraptionRenderInfo(Contraption contraption, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld)
  • Method Details

    • getEntityId

      public int getEntityId()
    • isDead

      public boolean isDead()
    • beginFrame

      public void beginFrame(com.jozufozu.flywheel.event.BeginFrameEvent event)
    • isVisible

      public boolean isVisible()
    • setupMatrices

      public void setupMatrices(com.mojang.blaze3d.vertex.PoseStack viewProjection, double camX, double camY, double camZ)
      Need to call this during RenderLayerEvent.
    • getMatrices

      public ContraptionMatrices getMatrices()
      If #setupMatrices is called correctly, the returned matrices will be ready
    • invalidate

      public void invalidate()