接口 TextHandler.LineWrappingConsumer

  • 封闭类:
    TextHandler
    函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    @Environment(CLIENT)
    public static interface TextHandler.LineWrappingConsumer
    A consumer of the line-breaking information.
    Mappings:
    Namespace Name
    official duw$d
    intermediary net/minecraft/class_5225$class_5229
    named net/minecraft/client/font/TextHandler$LineWrappingConsumer
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void accept​(Style style, int start, int end)
      Accepts the information on a line-wrap segment.
    • 方法详细资料

      • accept

        void accept​(Style style,
                    int start,
                    int end)
        Accepts the information on a line-wrap segment.
        参数:
        style - the style of this line segment
        start - the start index of this segment in the original string, inclusive
        end - the end index of this segment in the original string, exclusive
        Mappings:
        Namespace Name Mixin selector
        official accept Lduw$d;accept(Lox;II)V
        intermediary accept Lnet/minecraft/class_5225$class_5229;accept(Lnet/minecraft/class_2583;II)V
        named accept Lnet/minecraft/client/font/TextHandler$LineWrappingConsumer;accept(Lnet/minecraft/text/Style;II)V