Class RenderTaskManager
java.lang.Object
com.ldtteam.structurize.client.rendertask.RenderTaskManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRenderTaskaddRenderTask(String key, IRenderTask task) Adds a highlight item for the given key.static voidClears all highlight items for the given group key.static Map<String,IRenderTask> getTasksByGroup(String groupID) static voidClient tick callbackstatic booleanremoveTaskEntry(String groupID, String taskID) static booleanremoveTaskGroup(String groupID) static voidrender(WorldEventRenderContext context) Highlights positions
-
Constructor Details
-
RenderTaskManager
public RenderTaskManager()
-
-
Method Details
-
render
Highlights positions- Parameters:
context- rendering context
-
onClientTick
public static void onClientTick()Client tick callback -
clearHighlightsForKey
Clears all highlight items for the given group key.- Parameters:
key- the key to remove the render data for.
-
addRenderTask
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
-
removeTaskGroup
-
removeTaskEntry
-