@FunctionalInterface @Environment(value=CLIENT) public static interface TextHandler.LineWrappingConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Style style,
int start,
int end)
Accepts the information on a line-wrap segment.
|
void accept(Style style, int start, int end)
style - the style of this line segmentstart - the start index of this segment in the original string, inclusiveend - the end index of this segment in the original string, exclusive