Package net.minecraft.client.gui.widget
Class EntryListWidget<E extends EntryListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<E>
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
- Direct Known Subclasses:
AlwaysSelectedEntryListWidget,ElementListWidget
@Environment(CLIENT)
public abstract class EntryListWidget<E extends EntryListWidget.Entry<E>>
extends ContainerWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/EntryListWidgetintermediary net/minecraft/class_350official fnz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprotected static classEntryListWidget.Entry<E extends EntryListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final MinecraftClientprotected static final intprotected intprivate Eprivate static final Identifierprotected final intprivate static final Identifierprivate booleanprivate doubleprivate static final Identifierprivate static final Identifierprivate booleanprivate EFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionEntryListWidget(MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected voidaddEntryToTop(E entry) protected voidappendNarrations(NarrationMessageBuilder builder, E entry) protected voidcenterScrollOn(E entry) children()Gets a list of all child GUI elements.protected voidprotected booleanclickedHeader(int x, int y) Called when the header is clicked.protected voiddrawHeaderAndFooterSeparators(DrawContext context) protected voiddrawMenuListBackground(DrawContext context) protected voiddrawSelectionHighlight(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor) protected voidenableScissor(DrawContext context) protected voidensureVisible(E entry) private intprivate intprotected intprotected EgetEntry(int index) protected final EgetEntryAtPosition(double x, double y) protected intgetFirst()protected Eprotected intintprotected EgetNeighboringEntry(NavigationDirection direction) protected EgetNeighboringEntry(NavigationDirection direction, Predicate<E> predicate) protected EgetNeighboringEntry(NavigationDirection direction, Predicate<E> predicate, E selected) intgetRowBottom(int index) intintintgetRowTop(int index) intdoubleprivate intprotected intReturns the selected entry of this entry list, ornullif there is none.getType()booleanisMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.protected booleanprotected booleanisSelectButton(int button) protected booleanisSelectedEntry(int index) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.voidposition(int width, int height, int y) voidposition(int width, ThreePartsLayoutWidget layout) voidprotected Eremove(int index) protected booleanremoveEntry(E entry) protected booleanremoveEntryWithoutScrolling(E entry) protected voidrenderDecorations(DrawContext context, int mouseX, int mouseY) protected voidrenderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) protected voidrenderHeader(DrawContext context, int x, int y) protected voidrenderList(DrawContext context, int mouseX, int mouseY, float delta) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidreplaceEntries(Collection<E> newEntries) private voidscroll(int amount) (package private) voidsetEntryParentList(EntryListWidget.Entry<E> entry) voidsetFocused(@Nullable Element focused) protected voidsetRenderHeader(boolean renderHeader, int headerHeight) voidsetScrollAmount(double amount) voidsetScrollAmountOnly(double amount) Sets the scroll amount toamount.voidsetSelected(int index) voidsetSelected(E entry) protected voidupdateScrollingState(double mouseX, double mouseY, int button) Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
getNavigationPath, isDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendClickableNarrations, appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleasedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_45909
protected static final int field_45909- See Also:
- Mappings:
Namespace Name Mixin selector named field_45909Lnet/minecraft/client/gui/widget/EntryListWidget;field_45909:Iintermediary field_45909Lnet/minecraft/class_350;field_45909:Iofficial bLfnz;b:I
-
SCROLLER_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_TEXTURELnet/minecraft/client/gui/widget/EntryListWidget;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45908Lnet/minecraft/class_350;field_45908:Lnet/minecraft/class_2960;official aLfnz;a:Lalz;
-
SCROLLER_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_BACKGROUND_TEXTURELnet/minecraft/client/gui/widget/EntryListWidget;SCROLLER_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49477Lnet/minecraft/class_350;field_49477:Lnet/minecraft/class_2960;official mLfnz;m:Lalz;
-
MENU_LIST_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named MENU_LIST_BACKGROUND_TEXTURELnet/minecraft/client/gui/widget/EntryListWidget;MENU_LIST_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49478Lnet/minecraft/class_350;field_49478:Lnet/minecraft/class_2960;official nLfnz;n:Lalz;
-
INWORLD_MENU_LIST_BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector named INWORLD_MENU_LIST_BACKGROUND_TEXTURELnet/minecraft/client/gui/widget/EntryListWidget;INWORLD_MENU_LIST_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_49892Lnet/minecraft/class_350;field_49892:Lnet/minecraft/class_2960;official oLfnz;o:Lalz;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/widget/EntryListWidget;client:Lnet/minecraft/client/MinecraftClient;intermediary field_22740Lnet/minecraft/class_350;field_22740:Lnet/minecraft/class_310;official cLfnz;c:Lfmf;
-
itemHeight
protected final int itemHeight- Mappings:
Namespace Name Mixin selector named itemHeightLnet/minecraft/client/gui/widget/EntryListWidget;itemHeight:Iintermediary field_22741Lnet/minecraft/class_350;field_22741:Iofficial dLfnz;d:I
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/widget/EntryListWidget;children:Ljava/util/List;intermediary field_22739Lnet/minecraft/class_350;field_22739:Ljava/util/List;official pLfnz;p:Ljava/util/List;
-
centerListVertically
protected boolean centerListVertically- Mappings:
Namespace Name Mixin selector named centerListVerticallyLnet/minecraft/client/gui/widget/EntryListWidget;centerListVertically:Zintermediary field_22744Lnet/minecraft/class_350;field_22744:Zofficial eLfnz;e:Z
-
scrollAmount
private double scrollAmount- Mappings:
Namespace Name Mixin selector named scrollAmountLnet/minecraft/client/gui/widget/EntryListWidget;scrollAmount:Dintermediary field_22749Lnet/minecraft/class_350;field_22749:Dofficial qLfnz;q:D
-
renderHeader
private boolean renderHeader- Mappings:
Namespace Name Mixin selector named renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader:Zintermediary field_22747Lnet/minecraft/class_350;field_22747:Zofficial rLfnz;r:Z
-
headerHeight
protected int headerHeight- Mappings:
Namespace Name Mixin selector named headerHeightLnet/minecraft/client/gui/widget/EntryListWidget;headerHeight:Iintermediary field_22748Lnet/minecraft/class_350;field_22748:Iofficial fLfnz;f:I
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector named scrollingLnet/minecraft/client/gui/widget/EntryListWidget;scrolling:Zintermediary field_22750Lnet/minecraft/class_350;field_22750:Zofficial sLfnz;s:Z
-
selected
- Mappings:
Namespace Name Mixin selector named selectedLnet/minecraft/client/gui/widget/EntryListWidget;selected:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary field_22751Lnet/minecraft/class_350;field_22751:Lnet/minecraft/class_350$class_351;official uLfnz;u:Lfnz$a;
-
hoveredEntry
- Mappings:
Namespace Name Mixin selector named hoveredEntryLnet/minecraft/client/gui/widget/EntryListWidget;hoveredEntry:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary field_33780Lnet/minecraft/class_350;field_33780:Lnet/minecraft/class_350$class_351;official vLfnz;v:Lfnz$a;
-
-
Constructor Details
-
EntryListWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/widget/EntryListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIII)Vintermediary <init>Lnet/minecraft/class_350;<init>(Lnet/minecraft/class_310;IIII)Vofficial <init>Lfnz;<init>(Lfmf;IIII)V
-
-
Method Details
-
setRenderHeader
protected void setRenderHeader(boolean renderHeader, int headerHeight) - Mappings:
Namespace Name Mixin selector named setRenderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;setRenderHeader(ZI)Vintermediary method_25315Lnet/minecraft/class_350;method_25315(ZI)Vofficial aLfnz;a(ZI)V
-
getSelectedOrNull
Returns the selected entry of this entry list, ornullif there is none.- Returns:
- the selected entry of this entry list, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getSelectedOrNullLnet/minecraft/client/gui/widget/EntryListWidget;getSelectedOrNull()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_25334Lnet/minecraft/class_350;method_25334()Lnet/minecraft/class_350$class_351;official gLfnz;g()Lfnz$a;
-
setSelected
public void setSelected(int index) - Mappings:
Namespace Name Mixin selector named setSelectedLnet/minecraft/client/gui/widget/EntryListWidget;setSelected(I)Vintermediary method_64847Lnet/minecraft/class_350;method_64847(I)Vofficial aLfnz;a(I)V
-
setSelected
- Mappings:
Namespace Name Mixin selector named setSelectedLnet/minecraft/client/gui/widget/EntryListWidget;setSelected(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_25313Lnet/minecraft/class_350;method_25313(Lnet/minecraft/class_350$class_351;)Vofficial aLfnz;a(Lfnz$a;)V
-
getFirst
- Mappings:
Namespace Name Mixin selector named getFirstLnet/minecraft/client/gui/widget/EntryListWidget;getFirst()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_48200Lnet/minecraft/class_350;method_48200()Lnet/minecraft/class_350$class_351;official hLfnz;h()Lfnz$a;
-
getFocused
- Specified by:
getFocusedin interfaceParentElement- Overrides:
getFocusedin classContainerWidget- Mappings:
Namespace Name Mixin selector named getFocusedLnet/minecraft/client/gui/widget/EntryListWidget;getFocused()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_25336Lnet/minecraft/class_350;method_25336()Lnet/minecraft/class_350$class_351;official iLfnz;i()Lfnz$a;
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aI_Lfqb;aI_()Ljava/util/List;
-
clearEntries
protected void clearEntries()- Mappings:
Namespace Name Mixin selector named clearEntriesLnet/minecraft/client/gui/widget/EntryListWidget;clearEntries()Vintermediary method_25339Lnet/minecraft/class_350;method_25339()Vofficial jLfnz;j()V
-
replaceEntries
- Mappings:
Namespace Name Mixin selector named replaceEntriesLnet/minecraft/client/gui/widget/EntryListWidget;replaceEntries(Ljava/util/Collection;)Vintermediary method_25314Lnet/minecraft/class_350;method_25314(Ljava/util/Collection;)Vofficial aLfnz;a(Ljava/util/Collection;)V
-
getEntry
- Mappings:
Namespace Name Mixin selector named getEntryLnet/minecraft/client/gui/widget/EntryListWidget;getEntry(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_25326Lnet/minecraft/class_350;method_25326(I)Lnet/minecraft/class_350$class_351;official bLfnz;b(I)Lfnz$a;
-
addEntry
- Mappings:
Namespace Name Mixin selector named addEntryLnet/minecraft/client/gui/widget/EntryListWidget;addEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Iintermediary method_25321Lnet/minecraft/class_350;method_25321(Lnet/minecraft/class_350$class_351;)Iofficial bLfnz;b(Lfnz$a;)I
-
addEntryToTop
- Mappings:
Namespace Name Mixin selector named addEntryToTopLnet/minecraft/client/gui/widget/EntryListWidget;addEntryToTop(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_44399Lnet/minecraft/class_350;method_44399(Lnet/minecraft/class_350$class_351;)Vofficial cLfnz;c(Lfnz$a;)V
-
removeEntryWithoutScrolling
- Mappings:
Namespace Name Mixin selector named removeEntryWithoutScrollingLnet/minecraft/client/gui/widget/EntryListWidget;removeEntryWithoutScrolling(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Zintermediary method_44650Lnet/minecraft/class_350;method_44650(Lnet/minecraft/class_350$class_351;)Zofficial dLfnz;d(Lfnz$a;)Z
-
getEntryCount
protected int getEntryCount()- Mappings:
Namespace Name Mixin selector named getEntryCountLnet/minecraft/client/gui/widget/EntryListWidget;getEntryCount()Iintermediary method_25340Lnet/minecraft/class_350;method_25340()Iofficial kLfnz;k()I
-
isSelectedEntry
protected boolean isSelectedEntry(int index) - Mappings:
Namespace Name Mixin selector named isSelectedEntryLnet/minecraft/client/gui/widget/EntryListWidget;isSelectedEntry(I)Zintermediary method_25332Lnet/minecraft/class_350;method_25332(I)Zofficial cLfnz;c(I)Z
-
getEntryAtPosition
- Mappings:
Namespace Name Mixin selector named getEntryAtPositionLnet/minecraft/client/gui/widget/EntryListWidget;getEntryAtPosition(DD)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_25308Lnet/minecraft/class_350;method_25308(DD)Lnet/minecraft/class_350$class_351;official bLfnz;b(DD)Lfnz$a;
-
position
- Mappings:
Namespace Name Mixin selector named positionLnet/minecraft/client/gui/widget/EntryListWidget;position(ILnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;)Vintermediary method_57712Lnet/minecraft/class_350;method_57712(ILnet/minecraft/class_8132;)Vofficial aLfnz;a(ILfrt;)V
-
position
public void position(int width, int height, int y) - Mappings:
Namespace Name Mixin selector named positionLnet/minecraft/client/gui/widget/EntryListWidget;position(III)Vintermediary method_57714Lnet/minecraft/class_350;method_57714(III)Vofficial bLfnz;b(III)V
-
getMaxPosition
protected int getMaxPosition()- Mappings:
Namespace Name Mixin selector named getMaxPositionLnet/minecraft/client/gui/widget/EntryListWidget;getMaxPosition()Iintermediary method_25317Lnet/minecraft/class_350;method_25317()Iofficial lLfnz;l()I
-
clickedHeader
protected boolean clickedHeader(int x, int y) Called when the header is clicked.- Returns:
trueto indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector named clickedHeaderLnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)Zintermediary method_25310Lnet/minecraft/class_350;method_25310(II)Zofficial aLfnz;a(II)Z
-
renderHeader
- Mappings:
Namespace Name Mixin selector named renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_25312Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_332;II)Vofficial aLfnz;a(Lfnr;II)V
-
renderDecorations
- Mappings:
Namespace Name Mixin selector named renderDecorationsLnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_25320Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_332;II)Vofficial bLfnz;b(Lfnr;II)V
-
renderWidget
- Specified by:
renderWidgetin classClickableWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLfoc;b(Lfnr;IIF)V
-
isScrollbarVisible
protected boolean isScrollbarVisible()- Mappings:
Namespace Name Mixin selector named isScrollbarVisibleLnet/minecraft/client/gui/widget/EntryListWidget;isScrollbarVisible()Zintermediary method_57717Lnet/minecraft/class_350;method_57717()Zofficial mLfnz;m()Z
-
drawMenuListBackground
- Mappings:
Namespace Name Mixin selector named drawMenuListBackgroundLnet/minecraft/client/gui/widget/EntryListWidget;drawMenuListBackground(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_57715Lnet/minecraft/class_350;method_57715(Lnet/minecraft/class_332;)Vofficial bLfnz;b(Lfnr;)V
-
enableScissor
- Mappings:
Namespace Name Mixin selector named enableScissorLnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_49603Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)Vofficial cLfnz;c(Lfnr;)V
-
centerScrollOn
- Mappings:
Namespace Name Mixin selector named centerScrollOnLnet/minecraft/client/gui/widget/EntryListWidget;centerScrollOn(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_25324Lnet/minecraft/class_350;method_25324(Lnet/minecraft/class_350$class_351;)Vofficial eLfnz;e(Lfnz$a;)V
-
ensureVisible
- Mappings:
Namespace Name Mixin selector named ensureVisibleLnet/minecraft/client/gui/widget/EntryListWidget;ensureVisible(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_25328Lnet/minecraft/class_350;method_25328(Lnet/minecraft/class_350$class_351;)Vofficial fLfnz;f(Lfnz$a;)V
-
scroll
private void scroll(int amount) - Mappings:
Namespace Name Mixin selector named scrollLnet/minecraft/client/gui/widget/EntryListWidget;scroll(I)Vintermediary method_25309Lnet/minecraft/class_350;method_25309(I)Vofficial nLfnz;n(I)V
-
getScrollAmount
public double getScrollAmount()- Mappings:
Namespace Name Mixin selector named getScrollAmountLnet/minecraft/client/gui/widget/EntryListWidget;getScrollAmount()Dintermediary method_25341Lnet/minecraft/class_350;method_25341()Dofficial nLfnz;n()D
-
setScrollAmountOnly
public void setScrollAmountOnly(double amount) Sets the scroll amount toamount. UnlikesetScrollAmount(double), this has no side effects (like loading more entries).- Mappings:
Namespace Name Mixin selector named setScrollAmountOnlyLnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmountOnly(D)Vintermediary method_60321Lnet/minecraft/class_350;method_60321(D)Vofficial aLfnz;a(D)V
-
setScrollAmount
public void setScrollAmount(double amount) - Mappings:
Namespace Name Mixin selector named setScrollAmountLnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmount(D)Vintermediary method_25307Lnet/minecraft/class_350;method_25307(D)Vofficial bLfnz;b(D)V
-
refreshScroll
public void refreshScroll()- Mappings:
Namespace Name Mixin selector named refreshScrollLnet/minecraft/client/gui/widget/EntryListWidget;refreshScroll()Vintermediary method_60322Lnet/minecraft/class_350;method_60322()Vofficial oLfnz;o()V
-
getMaxScroll
public int getMaxScroll()- Mappings:
Namespace Name Mixin selector named getMaxScrollLnet/minecraft/client/gui/widget/EntryListWidget;getMaxScroll()Iintermediary method_25331Lnet/minecraft/class_350;method_25331()Iofficial pLfnz;p()I
-
updateScrollingState
protected void updateScrollingState(double mouseX, double mouseY, int button) - Mappings:
Namespace Name Mixin selector named updateScrollingStateLnet/minecraft/client/gui/widget/EntryListWidget;updateScrollingState(DDI)Vintermediary method_25318Lnet/minecraft/class_350;method_25318(DDI)Vofficial cLfnz;c(DDI)V
-
getScrollbarX
protected int getScrollbarX()- Mappings:
Namespace Name Mixin selector named getScrollbarXLnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarX()Iintermediary method_25329Lnet/minecraft/class_350;method_25329()Iofficial qLfnz;q()I
-
getDefaultScrollbarX
protected int getDefaultScrollbarX()- Mappings:
Namespace Name Mixin selector named getDefaultScrollbarXLnet/minecraft/client/gui/widget/EntryListWidget;getDefaultScrollbarX()Iintermediary method_57718Lnet/minecraft/class_350;method_57718()Iofficial rLfnz;r()I
-
getScrollbarMarginX
private int getScrollbarMarginX()- Mappings:
Namespace Name Mixin selector named getScrollbarMarginXLnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarMarginX()Iintermediary method_57716Lnet/minecraft/class_350;method_57716()Iofficial bLfnz;b()I
-
isSelectButton
protected boolean isSelectButton(int button) - Mappings:
Namespace Name Mixin selector named isSelectButtonLnet/minecraft/client/gui/widget/EntryListWidget;isSelectButton(I)Zintermediary method_53812Lnet/minecraft/class_350;method_53812(I)Zofficial dLfnz;d(I)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 inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Specified by:
mouseClickedin interfaceParentElement- Overrides:
mouseClickedin classContainerWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfqc;a(DDI)Z
-
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseReleasedin interfaceElement- Specified by:
mouseReleasedin interfaceParentElement- Overrides:
mouseReleasedin classContainerWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Zofficial bLfqc;b(DDI)Z
-
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Specified by:
mouseDraggedin interfaceParentElement- Overrides:
mouseDraggedin classContainerWidget- Parameters:
mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Zofficial aLfqc;a(DDIDD)Z
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Zofficial aLfqc;a(DDDD)Z
-
setFocused
- Specified by:
setFocusedin interfaceParentElement- Overrides:
setFocusedin classContainerWidget- Mappings:
Namespace Name Mixin selector named setFocusedLnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)Vintermediary method_25395Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)Vofficial aLfqb;a(Lfqc;)V
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.- Specified by:
isMouseOverin interfaceElement- Overrides:
isMouseOverin classClickableWidget- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- Returns:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector named isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Zofficial cLfqc;c(DD)Z
-
renderList
- Mappings:
Namespace Name Mixin selector named renderListLnet/minecraft/client/gui/widget/EntryListWidget;renderList(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25311Lnet/minecraft/class_350;method_25311(Lnet/minecraft/class_332;IIF)Vofficial cLfnz;c(Lfnr;IIF)V
-
renderEntry
protected void renderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) - Mappings:
Namespace Name Mixin selector named renderEntryLnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFIIIII)Vintermediary method_44397Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_332;IIFIIIII)Vofficial aLfnz;a(Lfnr;IIFIIIII)V
-
drawSelectionHighlight
protected void drawSelectionHighlight(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor) - Mappings:
Namespace Name Mixin selector named drawSelectionHighlightLnet/minecraft/client/gui/widget/EntryListWidget;drawSelectionHighlight(Lnet/minecraft/client/gui/DrawContext;IIIII)Vintermediary method_44398Lnet/minecraft/class_350;method_44398(Lnet/minecraft/class_332;IIIII)Vofficial aLfnz;a(Lfnr;IIIII)V
-
getRowLeft
public int getRowLeft()- Mappings:
Namespace Name Mixin selector named getRowLeftLnet/minecraft/client/gui/widget/EntryListWidget;getRowLeft()Iintermediary method_25342Lnet/minecraft/class_350;method_25342()Iofficial sLfnz;s()I
-
getBorderBoxLeft
private int getBorderBoxLeft()- Mappings:
Namespace Name Mixin selector named getBorderBoxLeftLnet/minecraft/client/gui/widget/EntryListWidget;getBorderBoxLeft()Iintermediary method_57710Lnet/minecraft/class_350;method_57710()Iofficial cLfnz;c()I
-
getRowRight
public int getRowRight()- Mappings:
Namespace Name Mixin selector named getRowRightLnet/minecraft/client/gui/widget/EntryListWidget;getRowRight()Iintermediary method_31383Lnet/minecraft/class_350;method_31383()Iofficial tLfnz;t()I
-
getBorderBoxRight
private int getBorderBoxRight()- Mappings:
Namespace Name Mixin selector named getBorderBoxRightLnet/minecraft/client/gui/widget/EntryListWidget;getBorderBoxRight()Iintermediary method_57711Lnet/minecraft/class_350;method_57711()Iofficial JLfnz;J()I
-
getRowTop
public int getRowTop(int index) - Mappings:
Namespace Name Mixin selector named getRowTopLnet/minecraft/client/gui/widget/EntryListWidget;getRowTop(I)Iintermediary method_25337Lnet/minecraft/class_350;method_25337(I)Iofficial eLfnz;e(I)I
-
getRowBottom
public int getRowBottom(int index) - Mappings:
Namespace Name Mixin selector named getRowBottomLnet/minecraft/client/gui/widget/EntryListWidget;getRowBottom(I)Iintermediary method_25319Lnet/minecraft/class_350;method_25319(I)Iofficial fLfnz;f(I)I
-
getRowWidth
public int getRowWidth()- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLfnz;a()I
-
getType
- Specified by:
getTypein interfaceSelectable- Overrides:
getTypein classClickableWidget- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;intermediary method_37018Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;official uLfsa;u()Lfsa$a;
-
remove
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/client/gui/widget/EntryListWidget;remove(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_25338Lnet/minecraft/class_350;method_25338(I)Lnet/minecraft/class_350$class_351;official gLfnz;g(I)Lfnz$a;
-
removeEntry
- Mappings:
Namespace Name Mixin selector named removeEntryLnet/minecraft/client/gui/widget/EntryListWidget;removeEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Zintermediary method_25330Lnet/minecraft/class_350;method_25330(Lnet/minecraft/class_350$class_351;)Zofficial gLfnz;g(Lfnz$a;)Z
-
getHoveredEntry
- Mappings:
Namespace Name Mixin selector named getHoveredEntryLnet/minecraft/client/gui/widget/EntryListWidget;getHoveredEntry()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;intermediary method_37019Lnet/minecraft/class_350;method_37019()Lnet/minecraft/class_350$class_351;official vLfnz;v()Lfnz$a;
-
setEntryParentList
- Mappings:
Namespace Name Mixin selector named setEntryParentListLnet/minecraft/client/gui/widget/EntryListWidget;setEntryParentList(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_29621Lnet/minecraft/class_350;method_29621(Lnet/minecraft/class_350$class_351;)Vofficial hLfnz;h(Lfnz$a;)V
-
appendNarrations
- Mappings:
Namespace Name Mixin selector named appendNarrationsLnet/minecraft/client/gui/widget/EntryListWidget;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Vintermediary method_37017Lnet/minecraft/class_350;method_37017(Lnet/minecraft/class_6382;Lnet/minecraft/class_350$class_351;)Vofficial aLfnz;a(Lfsc;Lfnz$a;)V
-