Class BoxPreviewRenderTask

java.lang.Object
com.ldtteam.structurize.client.rendertask.task.TimedTask
com.ldtteam.structurize.client.rendertask.tasks.BoxPreviewRenderTask
All Implemented Interfaces:
IClientTask, IRenderTask, ITickingTask

public class BoxPreviewRenderTask extends TimedTask implements IRenderTask
Preview data for box contexts.
  • Constructor Details

    • BoxPreviewRenderTask

      public BoxPreviewRenderTask(String id, BoxPreviewData data, int seconds)
      Create a new box preview task
  • Method Details

    • render

      public void render(WorldEventRenderContext context)
      Description copied from interface: IRenderTask
      Indicate the render data it should continue rendering.
      Specified by:
      render in interface IRenderTask
    • shouldRenderIn

      public boolean shouldRenderIn(net.minecraftforge.client.event.RenderLevelStageEvent.Stage renderStage)
      Description copied from interface: IRenderTask
      Precheck for the render stage, as render(WorldEventRenderContext) is run for all stages
      Specified by:
      shouldRenderIn in interface IRenderTask
      Returns:
      true if rendering active for this stage