@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, setFocused
isMouseOver, render
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
isMouseOver, mouseMoved
private final List<OrderedText> name
public NamedRuleWidget(List<OrderedText> description, @Nullable Text name)
protected void drawName(MatrixStack matrices, int x, int y)