net.minecraft.client.realms.gui.screen

public class RealmsBrokenWorldScreen

extends RealmsScreen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

com.mojang.realmsclient.gui.screens.RealmsBrokenWorldScreen
com.mojang.realmsclient.gui.screens.RealmsBrokenWorldScreen
net.minecraft.class_4384
net.minecraft.client.realms.gui.screen.RealmsBrokenWorldScreen

Field summary

Modifier and TypeField
private static final Identifier
SLOT_FRAME_SPRITE
SLOT_FRAME_SPRITE
field_45239
SLOT_FRAME_TEXTURE
private static final org.slf4j.Logger
LOGGER
LOGGER
field_19763
LOGGER
private static final int
DEFAULT_BUTTON_WIDTH
DEFAULT_BUTTON_WIDTH
field_32120
field_32120
private final Screen
lastScreen
lastScreen
field_19764
parent
private RealmsServer
serverData
serverData
field_20492
serverData
private final long
serverId
serverId
field_19767
serverId
private final Text[]
message
message
field_19769
message
private int
leftX
leftX
field_19770
left_x
private final List<Integer>
slotsThatHasBeenDownloaded
slotsThatHasBeenDownloaded
field_19778
slotsThatHasBeenDownloaded
private int
animTick
animTick
field_19779
animTick

Constructor summary

ModifierConstructor
public (Screen parent, long serverId, boolean minigame)

Method summary

Modifier and TypeMethod
public void
init()
init()
method_25426()
init()
public Text
getNarrationMessage()
getNarrationMessage()
method_25435()
getNarratedTitle()
private void
addButtons()
addButtons()
method_21178()
addButtons()
public void
tick()
tick()
method_25393()
tick()
public void
extractRenderState(GuiGraphicsExtractor graphics, int xm, int ym, float a)
extractRenderState(GuiGraphicsExtractor graphics, int xm, int ym, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private int
getFramePositionX(int i)
getFramePositionX(int i)
method_21179(int arg0)
getFramePositionX(int i)
public Screen
createErrorScreen(RealmsServiceException exception)
createErrorScreen(RealmsServiceException exception)
method_72203(class_4355 arg0)
createErrorScreen(RealmsServiceException error)
private void
fetchServerData(long realmId)
fetchServerData(long realmId)
method_21181(long arg0)
fetchServerData(long worldId)
public void
doSwitchOrReset()
doSwitchOrReset()
method_25123()
play()
private void
downloadWorld(int slotId)
downloadWorld(int slotId)
method_21187(int arg0)
downloadWorld(int slotId)
public void
onClose()
onClose()
method_25419()
close()
private boolean
isMinigame()
isMinigame()
method_21196()
isMinigame()
private void
extractSlotFrame(GuiGraphicsExtractor graphics, int x, int y, int xm, int ym, boolean active, String text, int i, long imageId, String image, boolean empty)
extractSlotFrame(GuiGraphicsExtractor graphics, int x, int y, int xm, int ym, boolean active, String text, int i, long imageId, String image, boolean empty)
method_21180(class_332 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, String arg6, int arg7, long arg8, String arg9, boolean arg10)
drawSlotFrame(DrawContext context, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, String templateImage, boolean empty)