Class BuyRealmsScreen
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.BuyRealmsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official eos
intermediary net/minecraft/class_8656
named net/minecraft/client/realms/gui/screen/BuyRealmsScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final ButtonTextures
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private final Screen
private static final Identifier
private static final Text
private int
private int
private static List<Identifier>
private static final Identifier
private final boolean
private @Nullable ButtonWidget
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static void
drawTrialAvailableTexture
(DrawContext context, ButtonWidget button) private int
private int
getLeft()
private int
getRight()
private int
getTop()
protected void
init()
Called when a screen should be initialized.static void
refreshImages
(ResourceManager resourceManager) void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.void
tick()
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, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, 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
-
POPUP_TEXT
- Mappings:
Namespace Name Mixin selector official a
Leos;a:Ltl;
intermediary field_45273
Lnet/minecraft/class_8656;field_45273:Lnet/minecraft/class_2561;
named POPUP_TEXT
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;POPUP_TEXT:Lnet/minecraft/text/Text;
-
CLOSE_TEXT
- Mappings:
Namespace Name Mixin selector official b
Leos;b:Ltl;
intermediary field_45274
Lnet/minecraft/class_8656;field_45274:Lnet/minecraft/class_2561;
named CLOSE_TEXT
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;CLOSE_TEXT:Lnet/minecraft/text/Text;
-
POPUP_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector official c
Leos;c:Laew;
intermediary field_45275
Lnet/minecraft/class_8656;field_45275:Lnet/minecraft/class_2960;
named POPUP_BACKGROUND_TEXTURE
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;POPUP_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
TRIAL_AVAILABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official y
Leos;y:Laew;
intermediary field_45276
Lnet/minecraft/class_8656;field_45276:Lnet/minecraft/class_2960;
named TRIAL_AVAILABLE_TEXTURE
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;TRIAL_AVAILABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
CROSS_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector official z
Leos;z:Leuc;
intermediary field_45277
Lnet/minecraft/class_8656;field_45277:Lnet/minecraft/class_8666;
named CROSS_BUTTON_TEXTURES
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;CROSS_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
-
field_45255
private static final int field_45255- See Also:
- Mappings:
Namespace Name Mixin selector official A
Leos;A:I
intermediary field_45255
Lnet/minecraft/class_8656;field_45255:I
named field_45255
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45255:I
-
field_45256
private static final int field_45256- See Also:
- Mappings:
Namespace Name Mixin selector official B
Leos;B:I
intermediary field_45256
Lnet/minecraft/class_8656;field_45256:I
named field_45256
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45256:I
-
field_45257
private static final int field_45257- See Also:
- Mappings:
Namespace Name Mixin selector official C
Leos;C:I
intermediary field_45257
Lnet/minecraft/class_8656;field_45257:I
named field_45257
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45257:I
-
field_45258
private static final int field_45258- See Also:
- Mappings:
Namespace Name Mixin selector official D
Leos;D:I
intermediary field_45258
Lnet/minecraft/class_8656;field_45258:I
named field_45258
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45258:I
-
field_45259
private static final int field_45259- See Also:
- Mappings:
Namespace Name Mixin selector official E
Leos;E:I
intermediary field_45259
Lnet/minecraft/class_8656;field_45259:I
named field_45259
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45259:I
-
field_45260
private static final int field_45260- See Also:
- Mappings:
Namespace Name Mixin selector official F
Leos;F:I
intermediary field_45260
Lnet/minecraft/class_8656;field_45260:I
named field_45260
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45260:I
-
field_45261
private static final int field_45261- See Also:
- Mappings:
Namespace Name Mixin selector official G
Leos;G:I
intermediary field_45261
Lnet/minecraft/class_8656;field_45261:I
named field_45261
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45261:I
-
field_45262
private static final int field_45262- See Also:
- Mappings:
Namespace Name Mixin selector official H
Leos;H:I
intermediary field_45262
Lnet/minecraft/class_8656;field_45262:I
named field_45262
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45262:I
-
field_45263
private static final int field_45263- See Also:
- Mappings:
Namespace Name Mixin selector official I
Leos;I:I
intermediary field_45263
Lnet/minecraft/class_8656;field_45263:I
named field_45263
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45263:I
-
field_45264
private static final int field_45264- See Also:
- Mappings:
Namespace Name Mixin selector official J
Leos;J:I
intermediary field_45264
Lnet/minecraft/class_8656;field_45264:I
named field_45264
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45264:I
-
field_45265
private static final int field_45265- See Also:
- Mappings:
Namespace Name Mixin selector official K
Leos;K:I
intermediary field_45265
Lnet/minecraft/class_8656;field_45265:I
named field_45265
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45265:I
-
field_45266
private static final int field_45266- See Also:
- Mappings:
Namespace Name Mixin selector official L
Leos;L:I
intermediary field_45266
Lnet/minecraft/class_8656;field_45266:I
named field_45266
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45266:I
-
realmsImages
- Mappings:
Namespace Name Mixin selector official M
Leos;M:Ljava/util/List;
intermediary field_45267
Lnet/minecraft/class_8656;field_45267:Ljava/util/List;
named realmsImages
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImages:Ljava/util/List;
-
parent
- Mappings:
Namespace Name Mixin selector official N
Leos;N:Leyk;
intermediary field_45268
Lnet/minecraft/class_8656;field_45268:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
trialAvailable
private final boolean trialAvailable- Mappings:
Namespace Name Mixin selector official O
Leos;O:Z
intermediary field_45269
Lnet/minecraft/class_8656;field_45269:Z
named trialAvailable
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialAvailable:Z
-
trialButton
- Mappings:
Namespace Name Mixin selector official P
Leos;P:Lesq;
intermediary field_45270
Lnet/minecraft/class_8656;field_45270:Lnet/minecraft/class_4185;
named trialButton
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
realmsImageIndex
private int realmsImageIndex- Mappings:
Namespace Name Mixin selector official Q
Leos;Q:I
intermediary field_45271
Lnet/minecraft/class_8656;field_45271:I
named realmsImageIndex
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageIndex:I
-
realmsImageDisplayTime
private int realmsImageDisplayTime- Mappings:
Namespace Name Mixin selector official R
Leos;R:I
intermediary field_45272
Lnet/minecraft/class_8656;field_45272:I
named realmsImageDisplayTime
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageDisplayTime:I
-
-
Constructor Details
-
BuyRealmsScreen
- Mappings:
Namespace Name Mixin selector official <init>
Leos;<init>(Leyk;Z)V
intermediary <init>
Lnet/minecraft/class_8656;<init>(Lnet/minecraft/class_437;Z)V
named <init>
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Z)V
-
-
Method Details
-
refreshImages
- Mappings:
Namespace Name Mixin selector official a
Leos;a(Lant;)V
intermediary method_52685
Lnet/minecraft/class_8656;method_52685(Lnet/minecraft/class_3300;)V
named refreshImages
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;refreshImages(Lnet/minecraft/resource/ResourceManager;)V
-
init
protected 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. -
tick
public void tick() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lets;a(Lesf;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
-
drawTrialAvailableTexture
- Mappings:
Namespace Name Mixin selector official a
Leos;a(Lesf;Lesq;)V
intermediary method_52686
Lnet/minecraft/class_8656;method_52686(Lnet/minecraft/class_332;Lnet/minecraft/class_4185;)V
named drawTrialAvailableTexture
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;drawTrialAvailableTexture(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector official b
Leyk;b(Lesf;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector official D
Leos;D()I
intermediary method_52680
Lnet/minecraft/class_8656;method_52680()I
named getLeft
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getLeft()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector official E
Leos;E()I
intermediary method_52681
Lnet/minecraft/class_8656;method_52681()I
named getTop
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getTop()I
-
getRight
private int getRight()- Mappings:
Namespace Name Mixin selector official F
Leos;F()I
intermediary method_52682
Lnet/minecraft/class_8656;method_52682()I
named getRight
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getRight()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector official G
Leos;G()I
intermediary method_52683
Lnet/minecraft/class_8656;method_52683()I
named getBottom
Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getBottom()I
-
close
public void close()
-