Uses of Interface
net.minecraft.text.CharacterVisitor
-
Uses of CharacterVisitor in net.minecraft.client.font
Modifier and TypeClassDescriptionprivate class
private class
private class
private class
Modifier and TypeMethodDescriptionstatic boolean
TextVisitFactory.visitBackwards
(String text, Style style, CharacterVisitor visitor) Visits the code points of a string in backward (right to left) direction.static boolean
TextVisitFactory.visitFormatted
(String text, int startIndex, Style style, CharacterVisitor visitor) Visits the code points of a string, applying the formatting codes within.static boolean
TextVisitFactory.visitFormatted
(String text, int startIndex, Style startingStyle, Style resetStyle, CharacterVisitor visitor) Visits the code points of a string, applying the formatting codes within.static boolean
TextVisitFactory.visitFormatted
(String text, Style style, CharacterVisitor visitor) Visits the code points of a string, applying the formatting codes within.static boolean
TextVisitFactory.visitFormatted
(StringVisitable text, Style style, CharacterVisitor visitor) Visits the code points for every literal string and the formatting codes supplied by the renderable.static boolean
TextVisitFactory.visitForwards
(String text, Style style, CharacterVisitor visitor) Visits the code points of a string in forward (left to right) direction.private static boolean
TextVisitFactory.visitRegularCharacter
(Style style, CharacterVisitor visitor, int index, char c) -
Uses of CharacterVisitor in net.minecraft.text
Modifier and TypeMethodDescriptionstatic CharacterVisitor
OrderedText.map
(CharacterVisitor visitor, Int2IntFunction codePointMapper) Modifier and TypeMethodDescriptionboolean
OrderedText.accept
(CharacterVisitor visitor) static CharacterVisitor
OrderedText.map
(CharacterVisitor visitor, Int2IntFunction codePointMapper)