Class GuiHighlightRegistry
java.lang.Object
com.render.api.gui.GuiHighlightRegistry
Named UTF-16 text ranges consumed by
HIGHLIGHT(name) styles.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne source UTF-16 interval. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GuiHighlightRegistry
public GuiHighlightRegistry()
-
-
Method Details
-
set
Replaces one named highlight's ranges.- Parameters:
name- highlight namevalues- UTF-16 ranges- Returns:
- this registry
-
add
Appends one named UTF-16 range.- Parameters:
name- highlight namestartUtf16- inclusive startendUtf16- exclusive end- Returns:
- this registry
-
clear
-
clear
-
ranges
-