Package net.minecraft.util.text
Class CharacterManager.MultilineProcessor
java.lang.Object
net.minecraft.util.text.CharacterManager.MultilineProcessor
- All Implemented Interfaces:
ICharacterConsumer
- Enclosing class:
- CharacterManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
addToOffset
(int p_238387_1_) private boolean
finishIteration
(int p_238388_1_, Style p_238388_2_) int
private boolean
-
Field Details
-
maxWidth
private final float maxWidth -
lineBreak
private int lineBreak -
lineBreakStyle
-
hadNonZeroWidthChar
private boolean hadNonZeroWidthChar -
width
private float width -
lastSpace
private int lastSpace -
lastSpaceStyle
-
nextChar
private int nextChar -
offset
private int offset
-
-
Constructor Details
-
MultilineProcessor
public MultilineProcessor(float p_i232246_2_)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceICharacterConsumer
-
finishIteration
-
lineBreakFound
private boolean lineBreakFound() -
getSplitPosition
public int getSplitPosition() -
getSplitStyle
-
addToOffset
public void addToOffset(int p_238387_1_)
-