net.minecraft.client.gui.widgetextends AbstractTextWidget
All mapped superinterfaces:
Widget, Drawable, Element, Navigable, Selectable, Narratable
| net.minecraft.client.gui.components.StringWidget |
| net.minecraft.client.gui.components.StringWidget |
| net.minecraft.class_7842 |
| net.minecraft.client.gui.widget.TextWidget |
Field summary
| Modifier and Type | Field |
|---|
| private static final int | | TEXT_MARGIN | | TEXT_MARGIN | | field_63885 | | field_63885 |
|
| private int | | maxWidth | | maxWidth | | field_62122 | | maxWidth |
|
| private int | | cachedWidth | | cachedWidth | | field_62123 | | cachedWidth |
|
| private boolean | | cachedWidthDirty | | cachedWidthDirty | | field_62124 | | cachedWidthDirty |
|
| private TextWidget$TextOverflow | | textOverflow | | textOverflow | | field_62125 | | textOverflow |
|
Constructor summary
Method summary
| Modifier and Type | Method |
|---|
| public void | |
| public TextWidget | | setMaxWidth(int maxWidth) | | setMaxWidth(int maxWidth) | | method_73396(int arg0) | | setMaxWidth(int width) |
|
| public TextWidget | |
| public int | | getWidth() | | getWidth() | | method_25368() | | getWidth() |
|
| public void | |