Class BuyRealmsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class BuyRealmsScreen extends RealmsScreen
Mappings:
Namespace Name
named net/minecraft/client/realms/gui/screen/BuyRealmsScreen
intermediary net/minecraft/class_8656
official fdm
  • Field Details

    • CLOSE_TEXT

      private static final Text CLOSE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CLOSE_TEXT Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;CLOSE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_45274 Lnet/minecraft/class_8656;field_45274:Lnet/minecraft/class_2561;
      official b Lfdm;b:Lwy;
    • TRIAL_AVAILABLE_TEXTURE

      private static final Identifier TRIAL_AVAILABLE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TRIAL_AVAILABLE_TEXTURE Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;TRIAL_AVAILABLE_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45276 Lnet/minecraft/class_8656;field_45276:Lnet/minecraft/class_2960;
      official A Lfdm;A:Lakq;
    • CROSS_BUTTON_TEXTURES

      private static final ButtonTextures CROSS_BUTTON_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      named CROSS_BUTTON_TEXTURES Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;CROSS_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
      intermediary field_45277 Lnet/minecraft/class_8656;field_45277:Lnet/minecraft/class_8666;
      official B Lfdm;B:Lfjt;
    • field_45255

      private static final int field_45255
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45255 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45255:I
      intermediary field_45255 Lnet/minecraft/class_8656;field_45255:I
      official C Lfdm;C:I
    • field_45256

      private static final int field_45256
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45256 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45256:I
      intermediary field_45256 Lnet/minecraft/class_8656;field_45256:I
      official D Lfdm;D:I
    • field_45257

      private static final int field_45257
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45257 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45257:I
      intermediary field_45257 Lnet/minecraft/class_8656;field_45257:I
      official E Lfdm;E:I
    • field_45258

      private static final int field_45258
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45258 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45258:I
      intermediary field_45258 Lnet/minecraft/class_8656;field_45258:I
      official F Lfdm;F:I
    • field_45259

      private static final int field_45259
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45259 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45259:I
      intermediary field_45259 Lnet/minecraft/class_8656;field_45259:I
      official G Lfdm;G:I
    • field_45260

      private static final int field_45260
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45260 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45260:I
      intermediary field_45260 Lnet/minecraft/class_8656;field_45260:I
      official H Lfdm;H:I
    • field_45261

      private static final int field_45261
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45261 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45261:I
      intermediary field_45261 Lnet/minecraft/class_8656;field_45261:I
      official I Lfdm;I:I
    • field_45262

      private static final int field_45262
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45262 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45262:I
      intermediary field_45262 Lnet/minecraft/class_8656;field_45262:I
      official J Lfdm;J:I
    • field_45263

      private static final int field_45263
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45263 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45263:I
      intermediary field_45263 Lnet/minecraft/class_8656;field_45263:I
      official K Lfdm;K:I
    • field_45264

      private static final int field_45264
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45264 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45264:I
      intermediary field_45264 Lnet/minecraft/class_8656;field_45264:I
      official L Lfdm;L:I
    • field_45265

      private static final int field_45265
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45265 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45265:I
      intermediary field_45265 Lnet/minecraft/class_8656;field_45265:I
      official M Lfdm;M:I
    • field_45266

      private static final int field_45266
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45266 Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;field_45266:I
      intermediary field_45266 Lnet/minecraft/class_8656;field_45266:I
      official N Lfdm;N:I
    • realmsImages

      private static List<Identifier> realmsImages
      Mappings:
      Namespace Name Mixin selector
      named realmsImages Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImages:Ljava/util/List;
      intermediary field_45267 Lnet/minecraft/class_8656;field_45267:Ljava/util/List;
      official O Lfdm;O:Ljava/util/List;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_45268 Lnet/minecraft/class_8656;field_45268:Lnet/minecraft/class_437;
      official P Lfdm;P:Lfnx;
    • trialAvailable

      private final boolean trialAvailable
      Mappings:
      Namespace Name Mixin selector
      named trialAvailable Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialAvailable:Z
      intermediary field_45269 Lnet/minecraft/class_8656;field_45269:Z
      official Q Lfdm;Q:Z
    • trialButton

      @Nullable private @Nullable ButtonWidget trialButton
      Mappings:
      Namespace Name Mixin selector
      named trialButton Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;trialButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_45270 Lnet/minecraft/class_8656;field_45270:Lnet/minecraft/class_4185;
      official R Lfdm;R:Lfig;
    • realmsImageIndex

      private int realmsImageIndex
      Mappings:
      Namespace Name Mixin selector
      named realmsImageIndex Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageIndex:I
      intermediary field_45271 Lnet/minecraft/class_8656;field_45271:I
      official S Lfdm;S:I
    • realmsImageDisplayTime

      private int realmsImageDisplayTime
      Mappings:
      Namespace Name Mixin selector
      named realmsImageDisplayTime Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;realmsImageDisplayTime:I
      intermediary field_45272 Lnet/minecraft/class_8656;field_45272:I
      official T Lfdm;T:I
  • Constructor Details

    • BuyRealmsScreen

      public BuyRealmsScreen(Screen parent, boolean trialAvailable)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Z)V
      intermediary <init> Lnet/minecraft/class_8656;<init>(Lnet/minecraft/class_437;Z)V
      official <init> Lfdm;<init>(Lfnx;Z)V
  • Method Details

    • refreshImages

      public static void refreshImages(ResourceManager resourceManager)
      Mappings:
      Namespace Name Mixin selector
      named refreshImages Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;refreshImages(Lnet/minecraft/resource/ResourceManager;)V
      intermediary method_52685 Lnet/minecraft/class_8656;method_52685(Lnet/minecraft/class_3300;)V
      official a Lfdm;a(Laud;)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() to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aP_ Lfnx;aP_()V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lfnx;e()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfjj;a(Lfht;IIF)V
    • drawTrialAvailableTexture

      public static void drawTrialAvailableTexture(DrawContext context, ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      named drawTrialAvailableTexture Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;drawTrialAvailableTexture(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/gui/widget/ButtonWidget;)V
      intermediary method_52686 Lnet/minecraft/class_8656;method_52686(Lnet/minecraft/class_332;Lnet/minecraft/class_4185;)V
      official a Lfdm;a(Lfht;Lfig;)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      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 class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lfnx;b(Lfht;IIF)V
    • getLeft

      private int getLeft()
      Mappings:
      Namespace Name Mixin selector
      named getLeft Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getLeft()I
      intermediary method_52680 Lnet/minecraft/class_8656;method_52680()I
      official D Lfdm;D()I
    • getTop

      private int getTop()
      Mappings:
      Namespace Name Mixin selector
      named getTop Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getTop()I
      intermediary method_52681 Lnet/minecraft/class_8656;method_52681()I
      official E Lfdm;E()I
    • getRight

      private int getRight()
      Mappings:
      Namespace Name Mixin selector
      named getRight Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getRight()I
      intermediary method_52682 Lnet/minecraft/class_8656;method_52682()I
      official F Lfdm;F()I
    • getBottom

      private int getBottom()
      Mappings:
      Namespace Name Mixin selector
      named getBottom Lnet/minecraft/client/realms/gui/screen/BuyRealmsScreen;getBottom()I
      intermediary method_52683 Lnet/minecraft/class_8656;method_52683()I
      official G Lfdm;G()I
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfnx;d()V