yarn/mappings/net/minecraft/text/CharacterVisitor.mapping

16 lines
683 B
Plaintext

CLASS net/minecraft/class_5224 net/minecraft/text/CharacterVisitor
COMMENT A visitor for single characters in a string.
METHOD accept (ILnet/minecraft/class_2583;I)Z
COMMENT Visits a single character.
COMMENT
COMMENT <p>Multiple surrogate characters are converted into one single {@code
COMMENT codePoint} when passed into this method.
COMMENT
COMMENT @return {@code true} to continue visiting other characters, or {@code false} to terminate the visit
ARG 1 index
COMMENT the current index of the character
ARG 2 style
COMMENT the style of the character, containing formatting and font information
ARG 3 codePoint
COMMENT the code point of the character