Class RealmsSelectWorldTemplateScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsSelectWorldTemplateScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official eti
intermediary net/minecraft/class_4419
named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) final Consumer<WorldTemplate>
private static final int
private static final int
private final ThreePartsLayoutWidget
(package private) static final Logger
(package private) @Nullable List<TextRenderingUtils.Line>
private static final Text
private ButtonWidget
private static final Text
private ButtonWidget
(package private) @Nullable WorldTemplate
(package private) static final Identifier
(package private) RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList
private static final Text
private ButtonWidget
private final RealmsServer.WorldType
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33042, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsSelectWorldTemplateScreen
(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType) RealmsSelectWorldTemplateScreen
(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList templateList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) com.mojang.datafixers.util.Either<WorldTemplatePaginatedList,
Exception> fetchWorldTemplates
(WorldTemplatePaginatedList templateList, RealmsClient realms) (package private) int
void
init()
Called when a screen should be initialized.protected void
private void
private void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) private void
renderMessages
(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) private void
private void
setPagination
(WorldTemplatePaginatedList templateList) void
setWarning
(Text[] warning) (package private) void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Leti;a:Lorg/slf4j/Logger;
intermediary field_20069
Lnet/minecraft/class_4419;field_20069:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;LOGGER:Lorg/slf4j/Logger;
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector official b
Leti;b:Lahg;
intermediary field_22721
Lnet/minecraft/class_4419;field_22721:Lnet/minecraft/class_2960;
named SLOT_FRAME_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
-
SELECT_TEXT
- Mappings:
Namespace Name Mixin selector official c
Leti;c:Lvf;
intermediary field_45977
Lnet/minecraft/class_4419;field_45977:Lnet/minecraft/class_2561;
named SELECT_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SELECT_TEXT:Lnet/minecraft/text/Text;
-
TRAILER_TEXT
- Mappings:
Namespace Name Mixin selector official v
Leti;v:Lvf;
intermediary field_45978
Lnet/minecraft/class_4419;field_45978:Lnet/minecraft/class_2561;
named TRAILER_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;TRAILER_TEXT:Lnet/minecraft/text/Text;
-
PUBLISHER_TEXT
- Mappings:
Namespace Name Mixin selector official w
Leti;w:Lvf;
intermediary field_45979
Lnet/minecraft/class_4419;field_45979:Lnet/minecraft/class_2561;
named PUBLISHER_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;PUBLISHER_TEXT:Lnet/minecraft/text/Text;
-
field_45974
private static final int field_45974- See Also:
- Mappings:
Namespace Name Mixin selector official x
Leti;x:I
intermediary field_45974
Lnet/minecraft/class_4419;field_45974:I
named field_45974
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_45974:I
-
field_45975
private static final int field_45975- See Also:
- Mappings:
Namespace Name Mixin selector official y
Leti;y:I
intermediary field_45975
Lnet/minecraft/class_4419;field_45975:I
named field_45975
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_45975:I
-
layout
- Mappings:
Namespace Name Mixin selector official z
Leti;z:Lfaq;
intermediary field_45976
Lnet/minecraft/class_4419;field_45976:Lnet/minecraft/class_8132;
named layout
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
-
callback
- Mappings:
Namespace Name Mixin selector official A
Leti;A:Ljava/util/function/Consumer;
intermediary field_27941
Lnet/minecraft/class_4419;field_27941:Ljava/util/function/Consumer;
named callback
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;callback:Ljava/util/function/Consumer;
-
templateList
- Mappings:
Namespace Name Mixin selector official B
Leti;B:Leti$b;
intermediary field_20071
Lnet/minecraft/class_4419;field_20071:Lnet/minecraft/class_4419$class_4420;
named templateList
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;templateList:Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionList;
-
worldType
- Mappings:
Namespace Name Mixin selector official C
Leti;C:Leri$d;
intermediary field_20079
Lnet/minecraft/class_4419;field_20079:Lnet/minecraft/class_4877$class_4321;
named worldType
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
selectButton
- Mappings:
Namespace Name Mixin selector official D
Leti;D:Lexg;
intermediary field_20074
Lnet/minecraft/class_4419;field_20074:Lnet/minecraft/class_4185;
named selectButton
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
trailerButton
- Mappings:
Namespace Name Mixin selector official E
Leti;E:Lexg;
intermediary field_20075
Lnet/minecraft/class_4419;field_20075:Lnet/minecraft/class_4185;
named trailerButton
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;trailerButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
publisherButton
- Mappings:
Namespace Name Mixin selector official F
Leti;F:Lexg;
intermediary field_20076
Lnet/minecraft/class_4419;field_20076:Lnet/minecraft/class_4185;
named publisherButton
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;publisherButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
selectedTemplate
- Mappings:
Namespace Name Mixin selector official G
Leti;G:Lerz;
intermediary field_20072
Lnet/minecraft/class_4419;field_20072:Lnet/minecraft/class_4890;
named selectedTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectedTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;
-
currentLink
- Mappings:
Namespace Name Mixin selector official H
Leti;H:Ljava/lang/String;
intermediary field_20078
Lnet/minecraft/class_4419;field_20078:Ljava/lang/String;
named currentLink
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;currentLink:Ljava/lang/String;
-
warning
- Mappings:
Namespace Name Mixin selector official I
Leti;I:[Lvf;
intermediary field_20081
Lnet/minecraft/class_4419;field_20081:[Lnet/minecraft/class_2561;
named warning
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;warning:[Lnet/minecraft/text/Text;
-
noTemplatesMessage
- Mappings:
Namespace Name Mixin selector official J
Leti;J:Ljava/util/List;
intermediary field_20085
Lnet/minecraft/class_4419;field_20085:Ljava/util/List;
named noTemplatesMessage
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;noTemplatesMessage:Ljava/util/List;
-
-
Constructor Details
-
RealmsSelectWorldTemplateScreen
public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType) - Mappings:
Namespace Name Mixin selector official <init>
Leti;<init>(Lvf;Ljava/util/function/Consumer;Leri$d;)V
intermediary <init>
Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;)V
-
RealmsSelectWorldTemplateScreen
public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable @Nullable WorldTemplatePaginatedList templateList) - Mappings:
Namespace Name Mixin selector official <init>
Leti;<init>(Lvf;Ljava/util/function/Consumer;Leri$d;Lesa;)V
intermediary <init>
Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;Lnet/minecraft/class_4891;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)V
-
-
Method Details
-
setWarning
- Mappings:
Namespace Name Mixin selector official a
Leti;a([Lvf;)V
intermediary method_21429
Lnet/minecraft/class_4419;method_21429([Lnet/minecraft/class_2561;)V
named setWarning
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;setWarning([Lnet/minecraft/text/Text;)V
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official h
Lfdb;h()Lvf;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector official D
Leti;D()V
intermediary method_21425
Lnet/minecraft/class_4419;method_21425()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;updateButtonStates()V
-
close
public void close() -
selectTemplate
private void selectTemplate()- Mappings:
Namespace Name Mixin selector official E
Leti;E()V
intermediary method_21440
Lnet/minecraft/class_4419;method_21440()V
named selectTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectTemplate()V
-
onTrailer
private void onTrailer()- Mappings:
Namespace Name Mixin selector official H
Leti;H()V
intermediary method_21442
Lnet/minecraft/class_4419;method_21442()V
named onTrailer
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onTrailer()V
-
onPublish
private void onPublish()- Mappings:
Namespace Name Mixin selector official I
Leti;I()V
intermediary method_21444
Lnet/minecraft/class_4419;method_21444()V
named onPublish
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onPublish()V
-
setPagination
- Mappings:
Namespace Name Mixin selector official a
Leti;a(Lesa;)V
intermediary method_21415
Lnet/minecraft/class_4419;method_21415(Lnet/minecraft/class_4891;)V
named setPagination
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;setPagination(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)V
-
fetchWorldTemplates
com.mojang.datafixers.util.Either<WorldTemplatePaginatedList,Exception> fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms) - Mappings:
Namespace Name Mixin selector official a
Leti;a(Lesa;Leqr;)Lcom/mojang/datafixers/util/Either;
intermediary method_21416
Lnet/minecraft/class_4419;method_21416(Lnet/minecraft/class_4891;Lnet/minecraft/class_4341;)Lcom/mojang/datafixers/util/Either;
named fetchWorldTemplates
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;fetchWorldTemplates(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;Lnet/minecraft/client/realms/RealmsClient;)Lcom/mojang/datafixers/util/Either;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leyj;a(Lewu;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
renderMessages
private void renderMessages(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) - Mappings:
Namespace Name Mixin selector official a
Leti;a(Lewu;IILjava/util/List;)V
intermediary method_21414
Lnet/minecraft/class_4419;method_21414(Lnet/minecraft/class_332;IILjava/util/List;)V
named renderMessages
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;renderMessages(Lnet/minecraft/client/gui/DrawContext;IILjava/util/List;)V
-
getTemplateListTop
int getTemplateListTop()- Mappings:
Namespace Name Mixin selector official J
Leti;J()I
intermediary method_53514
Lnet/minecraft/class_4419;method_53514()I
named getTemplateListTop
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;getTemplateListTop()I
-