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

public class ContraptionRenderDispatcher extends Object
  • Constructor Details

    • ContraptionRenderDispatcher

      public ContraptionRenderDispatcher()
  • Method Details

    • invalidate

      public static boolean invalidate(Contraption contraption)
      Reset a contraption's renderer.
      Parameters:
      contraption - The contraption to invalidate.
      Returns:
      true if there was a renderer associated with the given contraption.
    • tick

      public static void tick(net.minecraft.world.level.Level world)
    • beginFrame

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

      public static void renderLayer(com.jozufozu.flywheel.event.RenderLayerEvent event)
    • onRendererReload

      public static void onRendererReload(com.jozufozu.flywheel.event.ReloadRenderersEvent event)
    • gatherContext

      public static void gatherContext(com.jozufozu.flywheel.event.GatherContextEvent e)
    • renderFromEntity

      public static void renderFromEntity(AbstractContraptionEntity entity, Contraption contraption, net.minecraft.client.renderer.MultiBufferSource buffers)
    • setupRenderWorld

      public static com.jozufozu.flywheel.core.virtual.VirtualRenderWorld setupRenderWorld(net.minecraft.world.level.Level world, Contraption c)
    • renderTileEntities

      public static void renderTileEntities(net.minecraft.world.level.Level world, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, Contraption c, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer)
    • renderActors

      protected static void renderActors(net.minecraft.world.level.Level world, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, Contraption c, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer)
    • buildStructureBuffer

      public static SuperByteBuffer buildStructureBuffer(com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld, Contraption c, net.minecraft.client.renderer.RenderType layer)
    • getLight

      public static int getLight(net.minecraft.world.level.Level world, float lx, float ly, float lz)
    • getContraptionWorldLight

      public static int getContraptionWorldLight(MovementContext context, com.jozufozu.flywheel.core.virtual.VirtualRenderWorld renderWorld)
    • reset

      public static void reset()
    • canInstance

      public static boolean canInstance()