com.mojang.realmsclient.gui.screens

public class RealmsSelectWorldTemplateScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fen
com.mojang.realmsclient.gui.screens.RealmsSelectWorldTemplateScreen
net.minecraft.class_4419
net.minecraft.client.realms.gui.screen.RealmsSelectWorldTemplateScreen
net.minecraft.src.C_3330_

Field summary

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

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(wz... arg0)
setWarning(Component... arg0)
method_21429(class_2561... arg0)
setWarning(Text... warning)
m_89682_(C_4996_... arg0)
public void
aT_()
init()
method_25426()
init()
m_7856_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
m_142562_()
void
C()
updateButtonStates()
method_21425()
updateButtonStates()
m_89718_()
public void
d()
onClose()
method_25419()
close()
m_7379_()
private void
D()
selectTemplate()
method_21440()
selectTemplate()
m_89736_()
private void
E()
onTrailer()
method_21442()
onTrailer()
m_89738_()
private void
F()
onPublish()
method_21444()
onPublish()
m_89739_()
private void
a(fdf arg0)
fetchTemplatesAsync(WorldTemplatePaginatedList arg0)
method_21415(class_4891 arg0)
setPagination(WorldTemplatePaginatedList templateList)
m_89653_(C_3265_ arg0)
com.mojang.datafixers.util.Either<WorldTemplatePaginatedList, Exception>
a(fdf arg0, fby arg1)
fetchTemplates(WorldTemplatePaginatedList arg0, RealmsClient arg1)
method_21416(class_4891 arg0, class_4341 arg1)
fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms)
m_89655_(C_3265_ p_89657_, C_3223_ arg1)
public void
a(fhz 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)
m_88315_(C_279497_ p_89640_, int p_89641_, int p_89642_, float arg3)
private void
a(fhz arg0, int arg1, int arg2, List<ffe$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)
m_280418_(C_279497_ p_282163_, int p_282021_, int p_282203_, List<C_3353_$C_3354_> arg3)
int
G()
getHeaderHeight()
method_53514()
getTemplateListTop()
m_294786_()