Interface TextHandler.LineWrappingConsumer

Enclosing class:
TextHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

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

    Modifier and Type
    Method
    Description
    void
    accept(Style style, int start, int end)
    Accepts the information on a line-wrap segment.
  • Method Details

    • accept

      void accept(Style style, int start, int end)
      Accepts the information on a line-wrap segment.
      Parameters:
      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
      named accept Lnet/minecraft/client/font/TextHandler$LineWrappingConsumer;accept(Lnet/minecraft/text/Style;II)V
      intermediary accept Lnet/minecraft/class_5225$class_5229;accept(Lnet/minecraft/class_2583;II)V
      official accept Lffr$d;accept(Lym;II)V