@Environment(value=CLIENT) public class class_5522 extends Screen
| Modifier and Type | Class and Description |
|---|---|
static class |
class_5522.class_5523 |
| Modifier and Type | Field and Description |
|---|---|
private int |
field_26871 |
private boolean |
field_26872 |
private boolean |
field_26873 |
private Runnable |
field_26874 |
protected static Identifier |
field_26875 |
private static Text |
field_26876 |
private static Text |
field_26877 |
private static Text |
field_26878 |
private static Text |
field_26879 |
private static Text |
field_26880 |
private static Text |
field_26881 |
private class_5521 |
field_26882 |
private TextFieldWidget |
field_26883 |
private String |
field_26884 |
private class_5522.class_5523 |
field_26885 |
private ButtonWidget |
field_26886 |
private ButtonWidget |
field_26887 |
private Text |
field_26888 |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
class_5522() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNarrationMessage() |
protected void |
init() |
boolean |
isPauseScreen() |
boolean |
keyPressed(int int2,
int int3,
int int4)
Callback for when a key down event has been captured.
|
private void |
method_31350(MinecraftClient minecraftClient) |
private void |
method_31352(class_5522.class_5523 class_5523) |
void |
method_31353(PlayerListEntry playerListEntry) |
void |
method_31354(Runnable runnable) |
void |
method_31355(UUID uUID) |
private void |
method_31357(String string) |
void |
method_31358() |
private int |
method_31359() |
private int |
method_31360() |
private int |
method_31361() |
private int |
method_31362() |
boolean |
mouseClicked(double double2,
double double3,
int int2)
Callback for when a mouse button down event
has been captured.
|
void |
removed() |
void |
render(MatrixStack matrixStack,
int int2,
int int3,
float float2) |
void |
renderBackground(MatrixStack matrixStack)
Renders the background of this screen.
|
addButton, addChild, children, filesDragged, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprotected static final Identifier field_26875
private static final Text field_26876
private static final Text field_26877
private static final Text field_26878
private static final Text field_26879
private static final Text field_26880
private static final Text field_26881
private class_5521 field_26882
private TextFieldWidget field_26883
private String field_26884
private class_5522.class_5523 field_26885
private ButtonWidget field_26886
private ButtonWidget field_26887
private int field_26871
private boolean field_26872
private boolean field_26873
private int method_31359()
private int method_31360()
private int method_31361()
private int method_31362()
public String getNarrationMessage()
getNarrationMessage in class Screenprivate void method_31352(class_5522.class_5523 class_5523)
public void renderBackground(MatrixStack matrixStack)
ScreenIf the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
renderBackground in class Screenpublic void render(MatrixStack matrixStack, int int2, int int3, float float2)
public boolean mouseClicked(double double2,
double double3,
int int2)
ParentElementGLFW class.double2 - the X coordinate of the mousedouble3 - the Y coordinate of the mouseint2 - the mouse button numbertrue to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int),
GLFW.GLFW_MOUSE_BUTTON_1public boolean keyPressed(int int2,
int int3,
int int4)
ScreenGLFW class.keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screenint2 - the named key code of the event as described in the GLFW classint3 - the unique/platform-specific scan code of the keyboard inputint4 - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)true to indicate that the event handling is successful/validKeyboard.onKey(long, int, int, int, int),
GLFW.GLFW_KEY_Q,
GLFWKeyCallbackI.invoke(long, int, int, int, int)public boolean isPauseScreen()
isPauseScreen in class Screenprivate void method_31357(String string)
private void method_31350(MinecraftClient minecraftClient)
public void method_31358()
public void method_31353(PlayerListEntry playerListEntry)
public void method_31355(UUID uUID)