Class RealmsMainScreen.CrossButton

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget
Direct Known Subclasses:
RealmsMainScreen.CloseButton
Enclosing class:
RealmsMainScreen

@Environment(CLIENT) private static class RealmsMainScreen.CrossButton extends ButtonWidget
Mappings:
Namespace Name
official eiu$c
intermediary net/minecraft/class_4325$class_8201
named net/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton
  • Constructor Details

    • CrossButton

      protected CrossButton(ButtonWidget.PressAction onPress, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leiu$c;<init>(Lepi$c;Lsw;)V
      intermediary <init> Lnet/minecraft/class_4325$class_8201;<init>(Lnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton;<init>(Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
    • CrossButton

      protected CrossButton(int x, int y, ButtonWidget.PressAction onPress, Text message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leiu$c;<init>(IILepi$c;Lsw;)V
      intermediary <init> Lnet/minecraft/class_4325$class_8201;<init>(IILnet/minecraft/class_4185$class_4241;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$CrossButton;<init>(IILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Lnet/minecraft/text/Text;)V
  • Method Details

    • renderButton

      public void renderButton(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class PressableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lepf;b(Leox;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V