mirror of https://github.com/FabricMC/yarn.git
186 lines
6.2 KiB
Plaintext
186 lines
6.2 KiB
Plaintext
CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
|
|
FIELD field_19085 top I
|
|
FIELD field_19086 bottom I
|
|
FIELD field_19087 right I
|
|
FIELD field_19088 left I
|
|
FIELD field_22739 children Ljava/util/List;
|
|
FIELD field_22740 client Lnet/minecraft/class_310;
|
|
FIELD field_22741 itemHeight I
|
|
FIELD field_22742 width I
|
|
FIELD field_22743 height I
|
|
FIELD field_22744 centerListVertically Z
|
|
FIELD field_22746 renderSelection Z
|
|
FIELD field_22747 renderHeader Z
|
|
FIELD field_22748 headerHeight I
|
|
FIELD field_22749 scrollAmount D
|
|
FIELD field_22750 scrolling Z
|
|
FIELD field_22751 selected Lnet/minecraft/class_350$class_351;
|
|
FIELD field_26846 renderBackground Z
|
|
FIELD field_26847 renderHorizontalShadows Z
|
|
FIELD field_33780 hoveredEntry Lnet/minecraft/class_350$class_351;
|
|
METHOD <init> (Lnet/minecraft/class_310;IIIII)V
|
|
ARG 1 client
|
|
ARG 2 width
|
|
ARG 3 height
|
|
ARG 4 top
|
|
ARG 5 bottom
|
|
ARG 6 itemHeight
|
|
METHOD method_25307 setScrollAmount (D)V
|
|
ARG 1 amount
|
|
METHOD method_25308 getEntryAtPosition (DD)Lnet/minecraft/class_350$class_351;
|
|
ARG 1 x
|
|
ARG 3 y
|
|
METHOD method_25309 scroll (I)V
|
|
ARG 1 amount
|
|
METHOD method_25310 clickedHeader (II)V
|
|
ARG 1 x
|
|
ARG 2 y
|
|
METHOD method_25311 renderList (Lnet/minecraft/class_4587;IIF)V
|
|
ARG 1 matrices
|
|
ARG 2 mouseX
|
|
ARG 3 mouseY
|
|
ARG 4 delta
|
|
METHOD method_25312 renderHeader (Lnet/minecraft/class_4587;IILnet/minecraft/class_289;)V
|
|
ARG 1 matrices
|
|
ARG 2 x
|
|
ARG 3 y
|
|
ARG 4 tessellator
|
|
METHOD method_25313 setSelected (Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 entry
|
|
METHOD method_25314 replaceEntries (Ljava/util/Collection;)V
|
|
ARG 1 newEntries
|
|
METHOD method_25315 setRenderHeader (ZI)V
|
|
ARG 1 renderHeader
|
|
ARG 2 headerHeight
|
|
METHOD method_25316 isFocused ()Z
|
|
METHOD method_25317 getMaxPosition ()I
|
|
METHOD method_25318 updateScrollingState (DDI)V
|
|
ARG 1 mouseX
|
|
ARG 3 mouseY
|
|
ARG 5 button
|
|
METHOD method_25319 getRowBottom (I)I
|
|
ARG 1 index
|
|
METHOD method_25320 renderDecorations (Lnet/minecraft/class_4587;II)V
|
|
ARG 1 matrices
|
|
ARG 2 mouseX
|
|
ARG 3 mouseY
|
|
METHOD method_25321 addEntry (Lnet/minecraft/class_350$class_351;)I
|
|
ARG 1 entry
|
|
METHOD method_25322 getRowWidth ()I
|
|
METHOD method_25323 updateSize (IIII)V
|
|
ARG 1 width
|
|
ARG 2 height
|
|
ARG 3 top
|
|
ARG 4 bottom
|
|
METHOD method_25324 centerScrollOn (Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 entry
|
|
METHOD method_25325 renderBackground (Lnet/minecraft/class_4587;)V
|
|
ARG 1 matrices
|
|
METHOD method_25326 getEntry (I)Lnet/minecraft/class_350$class_351;
|
|
ARG 1 index
|
|
METHOD method_25328 ensureVisible (Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 entry
|
|
METHOD method_25329 getScrollbarPositionX ()I
|
|
METHOD method_25330 removeEntry (Lnet/minecraft/class_350$class_351;)Z
|
|
ARG 1 entry
|
|
METHOD method_25331 getMaxScroll ()I
|
|
METHOD method_25332 isSelectedEntry (I)Z
|
|
ARG 1 index
|
|
METHOD method_25333 setLeftPos (I)V
|
|
ARG 1 left
|
|
METHOD method_25334 getSelectedOrNull ()Lnet/minecraft/class_350$class_351;
|
|
COMMENT {@return the selected entry of this entry list, or {@code null} if there is none}
|
|
METHOD method_25335 moveSelection (Lnet/minecraft/class_350$class_5403;)V
|
|
ARG 1 direction
|
|
METHOD method_25337 getRowTop (I)I
|
|
ARG 1 index
|
|
METHOD method_25338 remove (I)Lnet/minecraft/class_350$class_351;
|
|
ARG 1 index
|
|
METHOD method_25339 clearEntries ()V
|
|
METHOD method_25340 getEntryCount ()I
|
|
METHOD method_25341 getScrollAmount ()D
|
|
METHOD method_25342 getRowLeft ()I
|
|
METHOD method_29344 setRenderSelection (Z)V
|
|
ARG 1 renderSelection
|
|
METHOD method_29621 setEntryParentList (Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 entry
|
|
METHOD method_30013 moveSelectionIf (Lnet/minecraft/class_350$class_5403;Ljava/util/function/Predicate;)Z
|
|
COMMENT Moves the selection in the specified direction until the predicate returns true.
|
|
COMMENT
|
|
COMMENT @return whether the selection matching the predicate was found
|
|
ARG 1 direction
|
|
COMMENT the direction to move the selection
|
|
ARG 2 predicate
|
|
METHOD method_30014 (Lnet/minecraft/class_350$class_351;)Z
|
|
ARG 0 entry
|
|
METHOD method_30015 ensureSelectedEntryVisible ()V
|
|
METHOD method_31322 setRenderBackground (Z)V
|
|
ARG 1 renderBackground
|
|
METHOD method_31323 setRenderHorizontalShadows (Z)V
|
|
ARG 1 renderHorizontalShadows
|
|
METHOD method_31383 getRowRight ()I
|
|
METHOD method_37017 appendNarrations (Lnet/minecraft/class_6382;Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 builder
|
|
ARG 2 entry
|
|
METHOD method_37019 getHoveredEntry ()Lnet/minecraft/class_350$class_351;
|
|
METHOD method_44397 renderEntry (Lnet/minecraft/class_4587;IIFIIIII)V
|
|
ARG 1 matrices
|
|
ARG 2 mouseX
|
|
ARG 3 mouseY
|
|
ARG 4 delta
|
|
ARG 5 index
|
|
ARG 6 x
|
|
ARG 7 y
|
|
ARG 8 entryWidth
|
|
ARG 9 entryHeight
|
|
METHOD method_44398 drawSelectionHighlight (Lnet/minecraft/class_4587;IIIII)V
|
|
ARG 1 matrices
|
|
ARG 2 y
|
|
ARG 3 entryWidth
|
|
ARG 4 entryHeight
|
|
ARG 5 borderColor
|
|
ARG 6 fillColor
|
|
METHOD method_44399 addEntryToTop (Lnet/minecraft/class_350$class_351;)V
|
|
ARG 1 entry
|
|
METHOD method_44650 removeEntryWithoutScrolling (Lnet/minecraft/class_350$class_351;)Z
|
|
ARG 1 entry
|
|
CLASS class_351 Entry
|
|
FIELD field_22752 parentList Lnet/minecraft/class_350;
|
|
METHOD method_25343 render (Lnet/minecraft/class_4587;IIIIIIIZF)V
|
|
COMMENT Renders an entry in a list.
|
|
ARG 1 matrices
|
|
COMMENT the matrix stack used for rendering
|
|
ARG 2 index
|
|
COMMENT the index of the entry
|
|
ARG 3 y
|
|
COMMENT the Y coordinate of the entry
|
|
ARG 4 x
|
|
COMMENT the X coordinate of the entry
|
|
ARG 5 entryWidth
|
|
COMMENT the width of the entry
|
|
ARG 6 entryHeight
|
|
COMMENT the height of the entry
|
|
ARG 7 mouseX
|
|
COMMENT the X coordinate of the mouse
|
|
ARG 8 mouseY
|
|
COMMENT the Y coordinate of the mouse
|
|
ARG 9 hovered
|
|
COMMENT whether the mouse is hovering over the entry
|
|
ARG 10 tickDelta
|
|
CLASS class_352 Entries
|
|
FIELD field_2146 entries Ljava/util/List;
|
|
METHOD add (ILjava/lang/Object;)V
|
|
ARG 1 index
|
|
ARG 2 entry
|
|
METHOD get (I)Ljava/lang/Object;
|
|
ARG 1 index
|
|
METHOD remove (I)Ljava/lang/Object;
|
|
ARG 1 index
|
|
METHOD set (ILjava/lang/Object;)Ljava/lang/Object;
|
|
ARG 1 index
|
|
ARG 2 entry
|
|
CLASS class_5403 MoveDirection
|
|
COMMENT Represents the direction in which the selection is moved.
|
|
FIELD field_25661 UP Lnet/minecraft/class_350$class_5403;
|
|
FIELD field_25662 DOWN Lnet/minecraft/class_350$class_5403;
|