@Environment(value=CLIENT) public class RealmsBrokenWorldScreen extends RealmsScreen
| Modifier and Type | Field and Description |
|---|---|
private int |
animTick |
private RealmsServer |
field_20492 |
private Text |
field_24204 |
private int |
left_x |
private static Logger |
LOGGER |
private RealmsMainScreen |
mainScreen |
private Text[] |
message |
private Screen |
parent |
private int |
right_x |
private long |
serverId |
private List<Integer> |
slotsThatHasBeenDownloaded |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
RealmsBrokenWorldScreen(Screen parent,
RealmsMainScreen mainScreen,
long serverId,
boolean bool) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addButtons() |
private void |
backButtonClicked() |
private void |
downloadWorld(int slotId) |
private void |
drawSlotFrame(MatrixStack matrixStack,
int y,
int xm,
int ym,
int int2,
boolean bool,
String string,
int int3,
long long2,
String string2,
boolean bool2) |
private void |
fetchServerData(long worldId) |
private int |
getFramePositionX(int i) |
void |
init()
Called when a screen should be initialized.
|
private boolean |
isMinigame() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers)
Callback for when a key down event has been captured.
|
void |
method_25123() |
void |
removed() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
tick() |
narrateLabels, rowaddButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger LOGGER
private final Screen parent
private final RealmsMainScreen mainScreen
private RealmsServer field_20492
private final long serverId
private final Text field_24204
private final Text[] message
private int left_x
private int right_x
private int animTick
public RealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean bool)
public void init()
This method is called when this screen is opened or resized.
private void addButtons()
public void tick()
tick in interface TickableElementtick in class RealmsScreenpublic void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
private int getFramePositionX(int i)
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
GLFW class.keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class ScreenkeyCode - the named key code of the event as described in the GLFW classscanCode - the unique/platform-specific scan code of the keyboard inputmodifiers - 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)private void backButtonClicked()
private void fetchServerData(long worldId)
public void method_25123()
private void downloadWorld(int slotId)
private boolean isMinigame()
private void drawSlotFrame(MatrixStack matrixStack, int y, int xm, int ym, int int2, boolean bool, String string, int int3, long long2, String string2, boolean bool2)