类 EntryListWidget.Entry<E extends EntryListWidget.Entry<E>>

    • 字段详细资料

      • parentList

        @Deprecated
        private EntryListWidget<E extends EntryListWidget.Entry<E>> parentList
        已过时。
        Mappings:
        Namespace Name Mixin selector
        official a Ldvs$a;a:Ldvs;
        intermediary field_22752 Lnet/minecraft/class_350$class_351;field_22752:Lnet/minecraft/class_350;
        named parentList Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;parentList:Lnet/minecraft/client/gui/widget/EntryListWidget;
    • 构造器详细资料

      • Entry

        public Entry()
    • 方法详细资料

      • render

        public abstract void render​(MatrixStack matrices,
                                    int index,
                                    int y,
                                    int x,
                                    int entryWidth,
                                    int entryHeight,
                                    int mouseX,
                                    int mouseY,
                                    boolean hovered,
                                    float tickDelta)
        Renders an entry in a list.
        参数:
        matrices - the matrix stack used for rendering
        index - the index of the entry
        y - the Y coordinate of the entry
        x - the X coordinate of the entry
        entryWidth - the width of the entry
        entryHeight - the height of the entry
        mouseX - the X coordinate of the mouse
        mouseY - the Y coordinate of the mouse
        hovered - whether the mouse is hovering over the entry
        Mappings:
        Namespace Name Mixin selector
        official a Ldvs$a;a(Ldpi;IIIIIIIZF)V
        intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
        named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
      • isMouseOver

        public boolean isMouseOver​(double mouseX,
                                   double mouseY)
        Checks if the mouse position is within the bound of the element.
        指定者:
        isMouseOver 在接口中 Element
        参数:
        mouseX - the X coordinate of the mouse
        mouseY - the Y coordinate of the mouse
        返回:
        true if the mouse is within the bound of the element, otherwise false
        Mappings:
        Namespace Name Mixin selector
        official b Ldwv;b(DD)Z
        intermediary method_25405 Lnet/minecraft/class_364;method_25405(DD)Z
        named isMouseOver Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z