Class RealmsWorldSlotButton

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension

public class RealmsWorldSlotButton extends Button
  • Field Details

    • SLOT_FRAME_SPRITE

      private static final ResourceLocation SLOT_FRAME_SPRITE
    • CHECKMARK_SPRITE

      private static final ResourceLocation CHECKMARK_SPRITE
    • EMPTY_SLOT_LOCATION

      public static final ResourceLocation EMPTY_SLOT_LOCATION
    • DEFAULT_WORLD_SLOT_1

      public static final ResourceLocation DEFAULT_WORLD_SLOT_1
    • DEFAULT_WORLD_SLOT_2

      public static final ResourceLocation DEFAULT_WORLD_SLOT_2
    • DEFAULT_WORLD_SLOT_3

      public static final ResourceLocation DEFAULT_WORLD_SLOT_3
    • SLOT_ACTIVE_TOOLTIP

      private static final Component SLOT_ACTIVE_TOOLTIP
    • SWITCH_TO_MINIGAME_SLOT_TOOLTIP

      private static final Component SWITCH_TO_MINIGAME_SLOT_TOOLTIP
    • SWITCH_TO_WORLD_SLOT_TOOLTIP

      private static final Component SWITCH_TO_WORLD_SLOT_TOOLTIP
    • MINIGAME

      static final Component MINIGAME
    • slotIndex

      private final int slotIndex
    • state

      @Nullable private RealmsWorldSlotButton.State state
  • Constructor Details

    • RealmsWorldSlotButton

      public RealmsWorldSlotButton(int p_87929_, int p_87930_, int p_87931_, int p_87932_, int p_87935_, Button.OnPress p_87936_)
  • Method Details