Class HighlightManager
java.lang.Object
com.minecolonies.core.client.render.worldevent.HighlightManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHighlight(String key, String subKey, IHighlightRenderData data) Adds a highlight item for the given key.static voidClears all highlight items for the given group key.
-
Constructor Details
-
HighlightManager
public HighlightManager()
-
-
Method Details
-
clearHighlightsForKey
Clears all highlight items for the given group key.- Parameters:
key- the key to remove the render data for.
-
addHighlight
Adds a highlight item for the given key.- Parameters:
key- the group key of the item to render.subKey- the subkey of the item within the group (if non-unique, an existing item will be replaced).data- the highlight render data.
-