@Environment(value=CLIENT) public class ControlsListWidget.KeyBindingEntry extends ControlsListWidget.Entry
| Modifier and Type | Field and Description |
|---|---|
private KeyBinding |
binding |
private Text |
bindingName |
private ButtonWidget |
editButton |
private ButtonWidget |
resetButton |
| Modifier | Constructor and Description |
|---|---|
private |
KeyBindingEntry(KeyBinding keyBinding,
Text text) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Element> |
children() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
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, waitchangeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseDragged, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final KeyBinding binding
private final Text bindingName
private final ButtonWidget editButton
private final ButtonWidget resetButton
private KeyBindingEntry(KeyBinding keyBinding, 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 mouseClicked(double mouseX,
double mouseY,
int button)
public boolean mouseReleased(double mouseX,
double mouseY,
int button)