类 RealmsMainScreen.RealmSelectionList

    • 字段详细资料

      • field_25723

        private boolean field_25723
        Mappings:
        Namespace Name Mixin selector
        official p Ldps$f;p:Z
        intermediary field_25723 Lnet/minecraft/class_4325$class_4329;field_25723:Z
        named field_25723 Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;field_25723:Z
    • 构造器详细资料

      • RealmSelectionList

        public RealmSelectionList()
    • 方法详细资料

      • clear

        public void clear()
        覆盖:
        clear 在类中 RealmsObjectSelectionList<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official a Lfao;a()V
        intermediary method_25493 Lnet/minecraft/class_4904;method_25493()V
        named clear Lnet/minecraft/client/realms/RealmsObjectSelectionList;clear()V
      • method_30161

        public int method_30161​(AlwaysSelectedEntryListWidget.Entry entry)
        Mappings:
        Namespace Name Mixin selector
        official a Ldps$f;a(Ldps$b;)I
        intermediary method_30161 Lnet/minecraft/class_4325$class_4329;method_30161(Lnet/minecraft/class_4325$class_4866;)I
        named method_30161 Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;method_30161(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;)I
      • isFocused

        public boolean isFocused()
        覆盖:
        isFocused 在类中 EntryListWidget<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official b Ldvs;b()Z
        intermediary method_25316 Lnet/minecraft/class_350;method_25316()Z
        named isFocused Lnet/minecraft/client/gui/widget/EntryListWidget;isFocused()Z
      • mouseClicked

        public boolean mouseClicked​(double mouseX,
                                    double mouseY,
                                    int button)
        Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
        指定者:
        mouseClicked 在接口中 Element
        指定者:
        mouseClicked 在接口中 ParentElement
        覆盖:
        mouseClicked 在类中 EntryListWidget<RealmsMainScreen.Entry>
        参数:
        mouseX - the X coordinate of the mouse
        mouseY - the Y coordinate of the mouse
        button - the mouse button number
        返回:
        true to indicate that the event handling is successful/valid
        另请参阅:
        Mouse.onMouseButton(long, int, int, int), GLFW.GLFW_MOUSE_BUTTON_1
        Mappings:
        Namespace Name Mixin selector
        official a Ldwv;a(DDI)Z
        intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
        named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
      • setSelected

        public void setSelected​(int index)
        覆盖:
        setSelected 在类中 RealmsObjectSelectionList<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official a Lfao;a(I)V
        intermediary method_25489 Lnet/minecraft/class_4904;method_25489(I)V
        named setSelected Lnet/minecraft/client/realms/RealmsObjectSelectionList;setSelected(I)V
      • setSelected

        public void setSelected​(@Nullable
                                @Nullable AlwaysSelectedEntryListWidget.Entry entry)
        Mappings:
        Namespace Name Mixin selector
        official b Ldps$f;b(Ldps$b;)V
        intermediary method_25024 Lnet/minecraft/class_4325$class_4329;method_25024(Lnet/minecraft/class_4325$class_4866;)V
        named setSelected Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$RealmSelectionList;setSelected(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen$Entry;)V
      • itemClicked

        public void itemClicked​(int cursorY,
                                int selectionIndex,
                                double mouseX,
                                double mouseY,
                                int listWidth)
        覆盖:
        itemClicked 在类中 RealmsObjectSelectionList<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official a Lfao;a(IIDDI)V
        intermediary method_25490 Lnet/minecraft/class_4904;method_25490(IIDDI)V
        named itemClicked Lnet/minecraft/client/realms/RealmsObjectSelectionList;itemClicked(IIDDI)V
      • getMaxPosition

        public int getMaxPosition()
        覆盖:
        getMaxPosition 在类中 RealmsObjectSelectionList<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official c Ldvs;c()I
        intermediary method_25317 Lnet/minecraft/class_350;method_25317()I
        named getMaxPosition Lnet/minecraft/client/gui/widget/EntryListWidget;getMaxPosition()I
      • getRowWidth

        public int getRowWidth()
        覆盖:
        getRowWidth 在类中 RealmsObjectSelectionList<RealmsMainScreen.Entry>
        Mappings:
        Namespace Name Mixin selector
        official d Ldvs;d()I
        intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
        named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I