java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionRenderInfo
com.simibubi.create.content.contraptions.components.structureMovement.render.FlwContraption

public class FlwContraption extends ContraptionRenderInfo
  • Constructor Details

    • FlwContraption

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

    • getLighter

      public ContraptionLighter<?> getLighter()
    • renderStructureLayer

      public void renderStructureLayer(net.minecraft.client.renderer.RenderType layer, ContraptionProgram shader)
    • renderInstanceLayer

      public void renderInstanceLayer(com.jozufozu.flywheel.event.RenderLayerEvent event)
    • beginFrame

      public void beginFrame(com.jozufozu.flywheel.event.BeginFrameEvent event)
      Overrides:
      beginFrame in class ContraptionRenderInfo
    • setupMatrices

      public void setupMatrices(com.mojang.blaze3d.vertex.PoseStack viewProjection, double camX, double camY, double camZ)
      Description copied from class: ContraptionRenderInfo
      Need to call this during RenderLayerEvent.
      Overrides:
      setupMatrices in class ContraptionRenderInfo
    • invalidate

      public void invalidate()
      Overrides:
      invalidate in class ContraptionRenderInfo
    • setupModelViewPartial

      public static void setupModelViewPartial(com.mojang.math.Matrix4f matrix, com.mojang.math.Matrix4f modelMatrix, AbstractContraptionEntity entity, double camX, double camY, double camZ, float pt)
    • tick

      public void tick()