Class RealmsWorldSlotButton

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class RealmsWorldSlotButton extends ButtonWidget
Mappings:
Namespace Name
official esk
intermediary net/minecraft/class_4367
named net/minecraft/client/realms/gui/RealmsWorldSlotButton
  • Field Details

    • SLOT_FRAME

      private static final Identifier SLOT_FRAME
      Mappings:
      Namespace Name Mixin selector
      official t Lesk;t:Lahg;
      intermediary field_22681 Lnet/minecraft/class_4367;field_22681:Lnet/minecraft/class_2960;
      named SLOT_FRAME Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;SLOT_FRAME:Lnet/minecraft/util/Identifier;
    • CHECKMARK

      private static final Identifier CHECKMARK
      Mappings:
      Namespace Name Mixin selector
      official u Lesk;u:Lahg;
      intermediary field_39067 Lnet/minecraft/class_4367;field_39067:Lnet/minecraft/class_2960;
      named CHECKMARK Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;CHECKMARK:Lnet/minecraft/util/Identifier;
    • EMPTY_FRAME

      public static final Identifier EMPTY_FRAME
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a:Lahg;
      intermediary field_22682 Lnet/minecraft/class_4367;field_22682:Lnet/minecraft/class_2960;
      named EMPTY_FRAME Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;EMPTY_FRAME:Lnet/minecraft/util/Identifier;
    • PANORAMA_0

      public static final Identifier PANORAMA_0
      Mappings:
      Namespace Name Mixin selector
      official b Lesk;b:Lahg;
      intermediary field_22683 Lnet/minecraft/class_4367;field_22683:Lnet/minecraft/class_2960;
      named PANORAMA_0 Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;PANORAMA_0:Lnet/minecraft/util/Identifier;
    • PANORAMA_2

      public static final Identifier PANORAMA_2
      Mappings:
      Namespace Name Mixin selector
      official c Lesk;c:Lahg;
      intermediary field_22684 Lnet/minecraft/class_4367;field_22684:Lnet/minecraft/class_2960;
      named PANORAMA_2 Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;PANORAMA_2:Lnet/minecraft/util/Identifier;
    • PANORAMA_3

      public static final Identifier PANORAMA_3
      Mappings:
      Namespace Name Mixin selector
      official d Lesk;d:Lahg;
      intermediary field_22685 Lnet/minecraft/class_4367;field_22685:Lnet/minecraft/class_2960;
      named PANORAMA_3 Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;PANORAMA_3:Lnet/minecraft/util/Identifier;
    • ACTIVE_TOOLTIP

      private static final Text ACTIVE_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      official v Lesk;v:Lvf;
      intermediary field_26468 Lnet/minecraft/class_4367;field_26468:Lnet/minecraft/class_2561;
      named ACTIVE_TOOLTIP Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;ACTIVE_TOOLTIP:Lnet/minecraft/text/Text;
    • MINIGAME_TOOLTIP

      private static final Text MINIGAME_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      official w Lesk;w:Lvf;
      intermediary field_26469 Lnet/minecraft/class_4367;field_26469:Lnet/minecraft/class_2561;
      named MINIGAME_TOOLTIP Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;MINIGAME_TOOLTIP:Lnet/minecraft/text/Text;
    • TOOLTIP

      private static final Text TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      official x Lesk;x:Lvf;
      intermediary field_26470 Lnet/minecraft/class_4367;field_26470:Lnet/minecraft/class_2561;
      named TOOLTIP Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;TOOLTIP:Lnet/minecraft/text/Text;
    • MINIGAME_SLOT_NAME

      static final Text MINIGAME_SLOT_NAME
      Mappings:
      Namespace Name Mixin selector
      official y Lesk;y:Lvf;
      intermediary field_44894 Lnet/minecraft/class_4367;field_44894:Lnet/minecraft/class_2561;
      named MINIGAME_SLOT_NAME Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;MINIGAME_SLOT_NAME:Lnet/minecraft/text/Text;
    • slotIndex

      private final int slotIndex
      Mappings:
      Namespace Name Mixin selector
      official z Lesk;z:I
      intermediary field_19675 Lnet/minecraft/class_4367;field_19675:I
      named slotIndex Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;slotIndex:I
    • state

      Mappings:
      Namespace Name Mixin selector
      official A Lesk;A:Lesk$b;
      intermediary field_19677 Lnet/minecraft/class_4367;field_19677:Lnet/minecraft/class_4367$class_4370;
      named state Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;state:Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton$State;
    • worldTooltip

      @Nullable private @Nullable Tooltip worldTooltip
      Mappings:
      Namespace Name Mixin selector
      official B Lesk;B:Leyr;
      intermediary field_46846 Lnet/minecraft/class_4367;field_46846:Lnet/minecraft/class_7919;
      named worldTooltip Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;worldTooltip:Lnet/minecraft/client/gui/tooltip/Tooltip;
  • Constructor Details

    • RealmsWorldSlotButton

      public RealmsWorldSlotButton(int x, int y, int width, int height, int slotIndex, ButtonWidget.PressAction pressAction)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lesk;<init>(IIIIILexg$c;)V
      intermediary <init> Lnet/minecraft/class_4367;<init>(IIIIILnet/minecraft/class_4185$class_4241;)V
      named <init> Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;<init>(IIIIILnet/minecraft/client/gui/widget/ButtonWidget$PressAction;)V
  • Method Details

    • getState

      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a()Lesk$b;
      intermediary method_25099 Lnet/minecraft/class_4367;method_25099()Lnet/minecraft/class_4367$class_4370;
      named getState Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;getState()Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton$State;
    • setServer

      public void setServer(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Leri;)V
      intermediary method_54571 Lnet/minecraft/class_4367;method_54571(Lnet/minecraft/class_4877;)V
      named setServer Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;setServer(Lnet/minecraft/client/realms/dto/RealmsServer;)V
    • updateTooltip

      private void updateTooltip(RealmsWorldSlotButton.State state, String minigameName)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Lesk$b;Ljava/lang/String;)V
      intermediary method_54572 Lnet/minecraft/class_4367;method_54572(Lnet/minecraft/class_4367$class_4370;Ljava/lang/String;)V
      named updateTooltip Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;updateTooltip(Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton$State;Ljava/lang/String;)V
    • getAction

      static RealmsWorldSlotButton.Action getAction(RealmsServer server, boolean active, boolean minigame)
      Mappings:
      Namespace Name Mixin selector
      official a Lesk;a(Leri;ZZ)Lesk$a;
      intermediary method_27455 Lnet/minecraft/class_4367;method_27455(Lnet/minecraft/class_4877;ZZ)Lnet/minecraft/class_4367$class_4368;
      named getAction Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton;getAction(Lnet/minecraft/client/realms/dto/RealmsServer;ZZ)Lnet/minecraft/client/realms/gui/RealmsWorldSlotButton$Action;
    • renderWidget

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