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 eon
intermediary net/minecraft/class_4419
named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Consumer<WorldTemplate>
(package private) int
(package private) static final Text
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Logger
(package private) @Nullable List<TextRenderingUtils.Line>
private ButtonWidget
private ButtonWidget
(package private) int
(package private) static final Identifier
(package private) RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList
(package private) static final Text
private ButtonWidget
(package private) static final Identifier
(package private) static final Identifier
private final RealmsServer.WorldType
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33038, field_33039, 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
ConstructorsConstructorDescriptionRealmsSelectWorldTemplateScreen
(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) private WorldTemplate
void
init()
Called when a screen should be initialized.private boolean
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) (package private) void
private void
setPagination
(WorldTemplatePaginatedList templateList) void
setWarning
(Text[] warning) private boolean
private boolean
private boolean
void
tick()
(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, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, 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, 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
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Leon;a:Laer;
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;
-
LINK_HIGHLIGHTED_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official b
Leon;b:Laer;
intermediary field_45281
Lnet/minecraft/class_4419;field_45281:Lnet/minecraft/class_2960;
named LINK_HIGHLIGHTED_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;LINK_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
LINK_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official c
Leon;c:Laer;
intermediary field_45282
Lnet/minecraft/class_4419;field_45282:Lnet/minecraft/class_2960;
named LINK_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;LINK_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
VIDEO_LINK_HIGHLIGHTED_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official y
Leon;y:Laer;
intermediary field_45283
Lnet/minecraft/class_4419;field_45283:Lnet/minecraft/class_2960;
named VIDEO_LINK_HIGHLIGHTED_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;VIDEO_LINK_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
VIDEO_LINK_ICON_TEXTURE
- Mappings:
Namespace Name Mixin selector official z
Leon;z:Laer;
intermediary field_45284
Lnet/minecraft/class_4419;field_45284:Lnet/minecraft/class_2960;
named VIDEO_LINK_ICON_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;VIDEO_LINK_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official A
Leon;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;
-
INFO_TOOLTIP
- Mappings:
Namespace Name Mixin selector official B
Leon;B:Ltf;
intermediary field_26512
Lnet/minecraft/class_4419;field_26512:Lnet/minecraft/class_2561;
named INFO_TOOLTIP
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;INFO_TOOLTIP:Lnet/minecraft/text/Text;
-
TRAILER_TOOLTIP
- Mappings:
Namespace Name Mixin selector official C
Leon;C:Ltf;
intermediary field_26513
Lnet/minecraft/class_4419;field_26513:Lnet/minecraft/class_2561;
named TRAILER_TOOLTIP
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;TRAILER_TOOLTIP:Lnet/minecraft/text/Text;
-
callback
- Mappings:
Namespace Name Mixin selector official D
Leon;D: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 E
Leon;E:Leon$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;
-
selectedTemplate
int selectedTemplate- Mappings:
Namespace Name Mixin selector official F
Leon;F:I
intermediary field_20072
Lnet/minecraft/class_4419;field_20072:I
named selectedTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectedTemplate:I
-
selectButton
- Mappings:
Namespace Name Mixin selector official G
Leon;G:Lesh;
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 H
Leon;H:Lesh;
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 I
Leon;I:Lesh;
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;
-
tooltip
- Mappings:
Namespace Name Mixin selector official J
Leon;J:Ltf;
intermediary field_20077
Lnet/minecraft/class_4419;field_20077:Lnet/minecraft/class_2561;
named tooltip
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;tooltip:Lnet/minecraft/text/Text;
-
currentLink
- Mappings:
Namespace Name Mixin selector official K
Leon;K: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;
-
worldType
- Mappings:
Namespace Name Mixin selector official L
Leon;L:Lemn$c;
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;
-
clicks
int clicks- Mappings:
Namespace Name Mixin selector official M
Leon;M:I
intermediary field_20080
Lnet/minecraft/class_4419;field_20080:I
named clicks
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;clicks:I
-
warning
- Mappings:
Namespace Name Mixin selector official N
Leon;N:[Ltf;
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 O
Leon;O: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>
Leon;<init>(Ltf;Ljava/util/function/Consumer;Lemn$c;)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>
Leon;<init>(Ltf;Ljava/util/function/Consumer;Lemn$c;Lenf;)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
Leon;a([Ltf;)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 e
Lexz;e()Ltf;
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 B
Leon;B()V
intermediary method_21425
Lnet/minecraft/class_4419;method_21425()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;updateButtonStates()V
-
shouldSelectButtonBeActive
private boolean shouldSelectButtonBeActive()- Mappings:
Namespace Name Mixin selector official C
Leon;C()Z
intermediary method_21430
Lnet/minecraft/class_4419;method_21430()Z
named shouldSelectButtonBeActive
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;shouldSelectButtonBeActive()Z
-
shouldPublisherBeVisible
private boolean shouldPublisherBeVisible()- Mappings:
Namespace Name Mixin selector official D
Leon;D()Z
intermediary method_21432
Lnet/minecraft/class_4419;method_21432()Z
named shouldPublisherBeVisible
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;shouldPublisherBeVisible()Z
-
getSelectedTemplate
- Mappings:
Namespace Name Mixin selector official E
Leon;E()Lene;
intermediary method_21434
Lnet/minecraft/class_4419;method_21434()Lnet/minecraft/class_4890;
named getSelectedTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;getSelectedTemplate()Lnet/minecraft/client/realms/dto/WorldTemplate;
-
shouldTrailerBeVisible
private boolean shouldTrailerBeVisible()- Mappings:
Namespace Name Mixin selector official F
Leon;F()Z
intermediary method_21436
Lnet/minecraft/class_4419;method_21436()Z
named shouldTrailerBeVisible
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;shouldTrailerBeVisible()Z
-
tick
public void tick() -
close
public void close() -
selectTemplate
void selectTemplate()- Mappings:
Namespace Name Mixin selector official G
Leon;G()V
intermediary method_21440
Lnet/minecraft/class_4419;method_21440()V
named selectTemplate
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectTemplate()V
-
isSelectionValid
private boolean isSelectionValid()- Mappings:
Namespace Name Mixin selector official H
Leon;H()Z
intermediary method_25247
Lnet/minecraft/class_4419;method_25247()Z
named isSelectionValid
Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;isSelectionValid()Z
-
onTrailer
private void onTrailer()- Mappings:
Namespace Name Mixin selector official I
Leon;I()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 J
Leon;J()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
Leon;a(Lenf;)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
Leon;a(Lenf;Lelw;)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
Leti;a(Lerw;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
Leon;a(Lerw;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
-