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 eokintermediary net/minecraft/class_8656named 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
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final ButtonTexturesprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final Screenprivate static final Identifierprivate static final Textprivate intprivate intprivate static List<Identifier>private static final Identifierprivate final booleanprivate @Nullable ButtonWidgetFields 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_SIZEFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static voiddrawTrialAvailableTexture(DrawContext context, ButtonWidget button) private intprivate intgetLeft()private intgetRight()private intgetTop()protected voidinit()Called when a screen should be initialized.static voidrefreshImages(ResourceManager resourceManager) voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods 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, 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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 aLeok;a:Lte;intermediary field_45273Lnet/minecraft/class_8656;field_45273:Lnet/minecraft/class_2561;named POPUP_TEXTLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;POPUP_TEXT:Lnet/minecraft/text/Text;
-
CLOSE_TEXT
- Mappings:
Namespace Name Mixin selector official bLeok;b:Lte;intermediary field_45274Lnet/minecraft/class_8656;field_45274:Lnet/minecraft/class_2561;named CLOSE_TEXTLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;CLOSE_TEXT:Lnet/minecraft/text/Text;
-
POPUP_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector official cLeok;c:Laep;intermediary field_45275Lnet/minecraft/class_8656;field_45275:Lnet/minecraft/class_2960;named POPUP_BACKGROUND_TEXTURELnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;POPUP_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
TRIAL_AVAILABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official yLeok;y:Laep;intermediary field_45276Lnet/minecraft/class_8656;field_45276:Lnet/minecraft/class_2960;named TRIAL_AVAILABLE_TEXTURELnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;TRIAL_AVAILABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
CROSS_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector official zLeok;z:Lett;intermediary field_45277Lnet/minecraft/class_8656;field_45277:Lnet/minecraft/class_8666;named CROSS_BUTTON_TEXTURESLnet/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 ALeok;A:Iintermediary field_45255Lnet/minecraft/class_8656;field_45255:Inamed field_45255Lnet/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 BLeok;B:Iintermediary field_45256Lnet/minecraft/class_8656;field_45256:Inamed field_45256Lnet/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 CLeok;C:Iintermediary field_45257Lnet/minecraft/class_8656;field_45257:Inamed field_45257Lnet/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 DLeok;D:Iintermediary field_45258Lnet/minecraft/class_8656;field_45258:Inamed field_45258Lnet/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 ELeok;E:Iintermediary field_45259Lnet/minecraft/class_8656;field_45259:Inamed field_45259Lnet/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 FLeok;F:Iintermediary field_45260Lnet/minecraft/class_8656;field_45260:Inamed field_45260Lnet/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 GLeok;G:Iintermediary field_45261Lnet/minecraft/class_8656;field_45261:Inamed field_45261Lnet/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 HLeok;H:Iintermediary field_45262Lnet/minecraft/class_8656;field_45262:Inamed field_45262Lnet/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 ILeok;I:Iintermediary field_45263Lnet/minecraft/class_8656;field_45263:Inamed field_45263Lnet/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 JLeok;J:Iintermediary field_45264Lnet/minecraft/class_8656;field_45264:Inamed field_45264Lnet/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 KLeok;K:Iintermediary field_45265Lnet/minecraft/class_8656;field_45265:Inamed field_45265Lnet/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 LLeok;L:Iintermediary field_45266Lnet/minecraft/class_8656;field_45266:Inamed field_45266Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45266:I
-
realmsImages
- Mappings:
Namespace Name Mixin selector official MLeok;M:Ljava/util/List;intermediary field_45267Lnet/minecraft/class_8656;field_45267:Ljava/util/List;named realmsImagesLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImages:Ljava/util/List;
-
parent
- Mappings:
Namespace Name Mixin selector official NLeok;N:Lexv;intermediary field_45268Lnet/minecraft/class_8656;field_45268:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
trialAvailable
private final boolean trialAvailable- Mappings:
Namespace Name Mixin selector official OLeok;O:Zintermediary field_45269Lnet/minecraft/class_8656;field_45269:Znamed trialAvailableLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialAvailable:Z
-
trialButton
- Mappings:
Namespace Name Mixin selector official PLeok;P:Lesi;intermediary field_45270Lnet/minecraft/class_8656;field_45270:Lnet/minecraft/class_4185;named trialButtonLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
realmsImageIndex
private int realmsImageIndex- Mappings:
Namespace Name Mixin selector official QLeok;Q:Iintermediary field_45271Lnet/minecraft/class_8656;field_45271:Inamed realmsImageIndexLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageIndex:I
-
realmsImageDisplayTime
private int realmsImageDisplayTime- Mappings:
Namespace Name Mixin selector official RLeok;R:Iintermediary field_45272Lnet/minecraft/class_8656;field_45272:Inamed realmsImageDisplayTimeLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageDisplayTime:I
-
-
Constructor Details
-
BuyRealmsScreen
- Mappings:
Namespace Name Mixin selector official <init>Leok;<init>(Lexv;Z)Vintermediary <init>Lnet/minecraft/class_8656;<init>(Lnet/minecraft/class_437;Z)Vnamed <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 aLeok;a(Lank;)Vintermediary method_52685Lnet/minecraft/class_8656;method_52685(Lnet/minecraft/class_3300;)Vnamed refreshImagesLnet/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:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLetj;a(Lerx;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
drawTrialAvailableTexture
- Mappings:
Namespace Name Mixin selector official aLeok;a(Lerx;Lesi;)Vintermediary method_52686Lnet/minecraft/class_8656;method_52686(Lnet/minecraft/class_332;Lnet/minecraft/class_4185;)Vnamed drawTrialAvailableTextureLnet/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,
. Otherwise renders the background texture.invalid @linkplain
renders the translucent background gradient
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector official bLexv;b(Lerx;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getLeft
private int getLeft()- Mappings:
Namespace Name Mixin selector official BLeok;B()Iintermediary method_52680Lnet/minecraft/class_8656;method_52680()Inamed getLeftLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getLeft()I
-
getTop
private int getTop()- Mappings:
Namespace Name Mixin selector official CLeok;C()Iintermediary method_52681Lnet/minecraft/class_8656;method_52681()Inamed getTopLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getTop()I
-
getRight
private int getRight()- Mappings:
Namespace Name Mixin selector official DLeok;D()Iintermediary method_52682Lnet/minecraft/class_8656;method_52682()Inamed getRightLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getRight()I
-
getBottom
private int getBottom()- Mappings:
Namespace Name Mixin selector official ELeok;E()Iintermediary method_52683Lnet/minecraft/class_8656;method_52683()Inamed getBottomLnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getBottom()I
-
close
public void close()
-