public class StringWalker
extends java.lang.Object
| Constructor and Description |
|---|
StringWalker(java.lang.String str,
MalisisFont font,
FontRenderOptions fro) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStyles(boolean apply) |
void |
checkLink() |
void |
endIndex(int index) |
char |
getChar() |
net.minecraft.util.text.TextFormatting |
getFormatting() |
int |
getIndex() |
Link |
getLink() |
float |
getWidth() |
boolean |
isApplyStyles() |
boolean |
isFormatted() |
boolean |
isLink() |
void |
setLitteral(boolean litteral) |
void |
skipChars(boolean skip) |
void |
startIndex(int index) |
boolean |
walk() |
int |
walkTo(float x) |
public StringWalker(java.lang.String str,
MalisisFont font,
FontRenderOptions fro)
public void setLitteral(boolean litteral)
public void skipChars(boolean skip)
public void applyStyles(boolean apply)
public boolean isApplyStyles()
public int getIndex()
public char getChar()
public net.minecraft.util.text.TextFormatting getFormatting()
public boolean isFormatted()
public Link getLink()
public boolean isLink()
public float getWidth()
public void startIndex(int index)
public void endIndex(int index)
public void checkLink()
public int walkTo(float x)
public boolean walk()