@Environment(value=CLIENT) public class ControlsListWidget.CategoryEntry extends ControlsListWidget.Entry
| Modifier and Type | Field and Description |
|---|---|
private Text |
name |
private int |
nameWidth |
| Constructor and Description |
|---|
CategoryEntry(Text text) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeFocus(boolean lookForwards) |
List<? extends Element> |
children() |
void |
render(MatrixStack matrixStack,
int y,
int x,
int width,
int height,
int mouseX,
int mouseY,
int int2,
boolean bool,
float float2) |
getFocused, isDragging, setDragging, setFocusedisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final Text name
private final int nameWidth
public CategoryEntry(Text text)
public void render(MatrixStack matrixStack, int y, int x, int width, int height, int mouseX, int mouseY, int int2, boolean bool, float float2)
render in class EntryListWidget.Entry<ControlsListWidget.Entry>public boolean changeFocus(boolean lookForwards)