@Environment(value=CLIENT) public abstract class EditGameRulesScreen.NamedRuleWidget extends EditGameRulesScreen.AbstractRuleWidget
| Modifier and Type | Field and Description |
|---|---|
protected List<Element> |
children |
private List<OrderedText> |
name |
| Constructor and Description |
|---|
NamedRuleWidget(List<OrderedText> description,
Text name) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Element> |
children()
Gets a list of all child GUI elements.
|
protected void |
drawName(MatrixStack matrices,
int x,
int y) |
getFocused, isDragging, setDragging, setFocusedisMouseOver, renderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final List<OrderedText> name
public NamedRuleWidget(List<OrderedText> description, @Nullable Text name)
protected void drawName(MatrixStack matrices, int x, int y)