Class StringSplitter.WidthLimitedCharSink

java.lang.Object
net.minecraft.client.StringSplitter.WidthLimitedCharSink
All Implemented Interfaces:
FormattedCharSink
Enclosing class:
StringSplitter

class StringSplitter.WidthLimitedCharSink extends Object implements FormattedCharSink
  • Field Details

    • maxWidth

      private float maxWidth
    • position

      private int position
  • Constructor Details

    • WidthLimitedCharSink

      public WidthLimitedCharSink(float p_92508_)
  • Method Details

    • accept

      public boolean accept(int p_92511_, Style p_92512_, int p_92513_)
      Specified by:
      accept in interface FormattedCharSink
    • getPosition

      public int getPosition()
    • resetPosition

      public void resetPosition()