接口 TextHandler.LineWrappingConsumer
-
- 封闭类:
- TextHandler
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface @Environment(CLIENT) public static interface TextHandler.LineWrappingConsumer
A consumer of the line-breaking information.- Mappings:
Namespace Name official duw$dintermediary net/minecraft/class_5225$class_5229named net/minecraft/client/font/TextHandler$LineWrappingConsumer
-
-
方法详细资料
-
accept
void accept(Style style, int start, int end)
Accepts the information on a line-wrap segment.- 参数:
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- Mappings:
Namespace Name Mixin selector official acceptLduw$d;accept(Lox;II)Vintermediary acceptLnet/minecraft/class_5225$class_5229;accept(Lnet/minecraft/class_2583;II)Vnamed acceptLnet/minecraft/client/font/TextHandler$LineWrappingConsumer;accept(Lnet/minecraft/text/Style;II)V
-
-