Class RealmsServerSlotButton

    • Field Detail

      • 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 ITextComponent SLOT_ACTIVE_TOOLTIP
      • SWITCH_TO_MINIGAME_SLOT_TOOLTIP

        private static final ITextComponent SWITCH_TO_MINIGAME_SLOT_TOOLTIP
      • SWITCH_TO_WORLD_SLOT_TOOLTIP

        private static final ITextComponent SWITCH_TO_WORLD_SLOT_TOOLTIP
      • serverDataProvider

        private final java.util.function.Supplier<RealmsServer> serverDataProvider
      • toolTipSetter

        private final java.util.function.Consumer<ITextComponent> toolTipSetter
      • slotIndex

        private final int slotIndex
      • animTick

        private int animTick
    • Constructor Detail

      • RealmsServerSlotButton

        public RealmsServerSlotButton​(int p_i232195_1_,
                                      int p_i232195_2_,
                                      int p_i232195_3_,
                                      int p_i232195_4_,
                                      java.util.function.Supplier<RealmsServer> p_i232195_5_,
                                      java.util.function.Consumer<ITextComponent> p_i232195_6_,
                                      int p_i232195_7_,
                                      Button.IPressable p_i232195_8_)