Class HighlightManager

java.lang.Object
com.minecolonies.core.client.render.worldevent.HighlightManager

public class HighlightManager extends Object
  • Constructor Details

    • HighlightManager

      public HighlightManager()
  • Method Details

    • 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.
    • addHighlight

      public static void addHighlight(String key, String subKey, IHighlightRenderData data)
      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.