com.mojang.realmsclient.gui.screens

public class RealmsSelectWorldTemplateScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

gbt
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 Identifier
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
F
TRAILER_BUTTON_NAME
field_45978
TRAILER_TEXT
private static final Component
G
PUBLISHER_BUTTON_NAME
field_45979
PUBLISHER_TEXT
private static final int
H
BUTTON_WIDTH
field_45974
field_45974
final HeaderAndFooterLayout
I
layout
field_45976
layout
final Consumer<WorldTemplate>
J
callback
field_27941
callback
RealmsSelectWorldTemplateScreen$WorldTemplateList
K
worldTemplateList
field_20071
templateList
private final RealmsServer$WorldType
L
worldType
field_20079
worldType
private final List<Component>
M
subtitle
field_62460
field_62460
private Button
N
selectButton
field_20074
selectButton
private Button
O
trailerButton
field_20075
trailerButton
private Button
P
publisherButton
field_20076
publisherButton
WorldTemplate
Q
selectedTemplate
field_20072
selectedTemplate
String
R
currentLink
field_20078
currentLink
List<TextRenderingUtils$Line>
S
noTemplatesMessage
field_20085
noTemplatesMessage

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
bf_()
init()
method_25426()
init()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
void
o()
updateButtonStates()
method_21425()
updateButtonStates()
public void
aW_()
onClose()
method_25419()
close()
private void
I()
selectTemplate()
method_21440()
selectTemplate()
private void
J()
onTrailer()
method_21442()
onTrailer()
private void
K()
onPublish()
method_21444()
onPublish()
private void
a(gas arg0)
fetchTemplatesAsync(WorldTemplatePaginatedList arg0)
method_21415(class_4891 arg0)
setPagination(WorldTemplatePaginatedList templateList)
com.mojang.datafixers.util.Either<WorldTemplatePaginatedList, Exception>
a(gas arg0, fyr arg1)
fetchTemplates(WorldTemplatePaginatedList arg0, RealmsClient arg1)
method_21416(class_4891 arg0, class_4341 arg1)
fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms)
public void
a(ghi 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(ghi arg0, int arg1, int arg2, List<gct$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)