com.mojang.realmsclient.gui.screens

public class RealmsSelectWorldTemplateScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fkh
com.mojang.realmsclient.gui.screens.RealmsSelectWorldTemplateScreen
net.minecraft.class_4419
net.minecraft.client.realms.gui.screen.RealmsSelectWorldTemplateScreen

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_20069
LOGGER
static final ResourceLocation
b
SLOT_FRAME_SPRITE
field_22721
SLOT_FRAME_TEXTURE
private static final Component
c
SELECT_BUTTON_NAME
field_45977
SELECT_TEXT
private static final Component
C
TRAILER_BUTTON_NAME
field_45978
TRAILER_TEXT
private static final Component
D
PUBLISHER_BUTTON_NAME
field_45979
PUBLISHER_TEXT
private static final int
E
BUTTON_WIDTH
field_45974
field_45974
private static final int
F
BUTTON_SPACING
field_45975
field_45975
private final HeaderAndFooterLayout
G
layout
field_45976
layout
final Consumer<WorldTemplate>
H
callback
field_27941
callback
RealmsSelectWorldTemplateScreen$WorldTemplateList
I
worldTemplateList
field_20071
templateList
private final RealmsServer$WorldType
J
worldType
field_20079
worldType
private Button
K
selectButton
field_20074
selectButton
private Button
L
trailerButton
field_20075
trailerButton
private Button
M
publisherButton
field_20076
publisherButton
WorldTemplate
N
selectedTemplate
field_20072
selectedTemplate
String
O
currentLink
field_20078
currentLink
private Component[]
P
warning
field_20081
warning
List<TextRenderingUtils$Line>
Q
noTemplatesMessage
field_20085
noTemplatesMessage

Constructor summary

ModifierConstructor
public (Component title, Consumer<WorldTemplate> callback, RealmsServer$WorldType worldType)
public (Component title, Consumer<WorldTemplate> callback, RealmsServer$WorldType worldType, WorldTemplatePaginatedList templateList)

Method summary

Modifier and TypeMethod
public void
a(xv... arg0)
setWarning(Component... arg0)
method_21429(class_2561... arg0)
setWarning(Text... warning)
public void
aT_()
init()
method_25426()
init()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
void
E()
updateButtonStates()
method_21425()
updateButtonStates()
public void
aP_()
onClose()
method_25419()
close()
private void
F()
selectTemplate()
method_21440()
selectTemplate()
private void
G()
onTrailer()
method_21442()
onTrailer()
private void
J()
onPublish()
method_21444()
onPublish()
private void
a(fja arg0)
fetchTemplatesAsync(WorldTemplatePaginatedList arg0)
method_21415(class_4891 arg0)
setPagination(WorldTemplatePaginatedList templateList)
com.mojang.datafixers.util.Either<WorldTemplatePaginatedList, Exception>
a(fja arg0, fhi arg1)
fetchTemplates(WorldTemplatePaginatedList arg0, RealmsClient arg1)
method_21416(class_4891 arg0, class_4341 arg1)
fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms)
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
a(fns arg0, int arg1, int arg2, List<fky$a> arg3)
renderMultilineMessage(GuiGraphics arg0, int arg1, int arg2, List<TextRenderingUtils$Line> arg3)
method_21414(class_332 arg0, int arg1, int arg2, List<class_4450$class_4451> arg3)
renderMessages(DrawContext context, int x, int y, List<TextRenderingUtils$Line> messages)
int
K()
getHeaderHeight()
method_53514()
getTemplateListTop()