net.minecraft.client.gui.widget
extends AbstractTextWidget
Widget, Drawable, Element, Navigable, Selectable, Narratable
| 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 |
| field_63885 |
| field_63885 |
|
| private int |
| maxWidth |
| field_62122 |
| maxWidth |
|
| private int |
| cachedWidth |
| field_62123 |
| cachedWidth |
|
| private boolean |
| cachedWidthDirty |
| field_62124 |
| cachedWidthDirty |
|
| private TextWidget$TextOverflow |
| textOverflow |
| field_62125 |
| textOverflow |
|
Constructor summary
Method summary
| Modifier and Type | Method |
| public void |
|
| public TextWidget |
| setMaxWidth(int maxWidth) |
| method_73396(int arg0) |
| setMaxWidth(int width) |
|
| public TextWidget |
|
| public int |
| getWidth() |
| method_25368() |
| getWidth() |
|
| public void |
|