Class RenderTaskManager

java.lang.Object
com.ldtteam.structurize.client.rendertask.RenderTaskManager

public class RenderTaskManager extends Object
  • Constructor Details

    • RenderTaskManager

      public RenderTaskManager()
  • Method Details

    • render

      public static void render(WorldEventRenderContext context)
      Highlights positions
      Parameters:
      context - rendering context
    • onClientTick

      public static void onClientTick()
      Client tick callback
    • clearHighlightsForKey

      public static void clearHighlightsForKey(String key)
      Clears all highlight items for the given group key.
      Parameters:
      key - the key to remove the render data for.
    • addRenderTask

      public static IRenderTask addRenderTask(String key, IRenderTask task)
      Adds a highlight item for the given key.
      Parameters:
      key - the group key of the item to render.
      Returns:
      the previous entry or null
    • getTasksByGroup

      @Nullable public static Map<String,IRenderTask> getTasksByGroup(String groupID)
    • removeTaskGroup

      public static boolean removeTaskGroup(String groupID)
    • removeTaskEntry

      public static boolean removeTaskEntry(String groupID, String taskID)