Class CharacterManager.StringWidthProcessor

java.lang.Object
net.minecraft.util.text.CharacterManager.StringWidthProcessor
All Implemented Interfaces:
ICharacterConsumer
Enclosing class:
CharacterManager

class CharacterManager.StringWidthProcessor extends Object implements ICharacterConsumer
  • Field Details

    • maxWidth

      private float maxWidth
    • position

      private int position
  • Constructor Details

    • StringWidthProcessor

      public StringWidthProcessor(float p_i232248_2_)
  • Method Details

    • accept

      public boolean accept(int p_accept_1_, Style p_accept_2_, int p_accept_3_)
      Specified by:
      accept in interface ICharacterConsumer
    • getPosition

      public int getPosition()
    • resetPosition

      public void resetPosition()