接口 CharacterVisitor

    • 方法详细资料

      • accept

        boolean accept​(int index,
                       Style style,
                       int codePoint)
        Visits a single character.

        Multiple surrogate characters are converted into one single codePoint when passed into this method.

        参数:
        index - the current index of the character
        style - the style of the character, containing formatting and font information
        codePoint - the code point of the character
        返回:
        true to continue visiting other characters, or false to terminate the visit
        Mappings:
        Namespace Name Mixin selector
        official accept Lagk;accept(ILox;I)Z
        intermediary accept Lnet/minecraft/class_5224;accept(ILnet/minecraft/class_2583;I)Z
        named accept Lnet/minecraft/text/CharacterVisitor;accept(ILnet/minecraft/text/Style;I)Z