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 official exb
intermediary net/minecraft/class_350
named net/minecraft/client/gui/widget/EntryListWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
protected static class
EntryListWidget.Entry<E extends EntryListWidget.Entry<E>>
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final MinecraftClient
protected static final int
protected int
private E
protected final int
private boolean
private boolean
private double
private static final Identifier
private boolean
private E
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionEntryListWidget
(MinecraftClient client, int width, int height, int y, int itemHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
protected void
addEntryToTop
(E entry) protected void
appendNarrations
(NarrationMessageBuilder builder, E entry) protected void
centerScrollOn
(E entry) children()
Gets a list of all child GUI elements.protected void
protected boolean
clickedHeader
(int x, int y) Called when the header is clicked.protected void
drawSelectionHighlight
(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor) protected void
enableScissor
(DrawContext context) protected void
ensureVisible
(E entry) protected E
getEntry
(int index) protected final E
getEntryAtPosition
(double x, double y) protected int
getFirst()
protected E
protected int
int
protected E
getNeighboringEntry
(NavigationDirection direction) protected E
getNeighboringEntry
(NavigationDirection direction, Predicate<E> predicate) protected E
getNeighboringEntry
(NavigationDirection direction, Predicate<E> predicate, E selected) protected int
getRowBottom
(int index) int
int
protected int
getRowTop
(int index) int
double
protected int
Returns the selected entry of this entry list, ornull
if there is none.getType()
boolean
isMouseOver
(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.protected boolean
isSelectButton
(int button) protected boolean
isSelectedEntry
(int index) boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.boolean
mouseDragged
(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.boolean
mouseReleased
(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.boolean
mouseScrolled
(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.protected E
remove
(int index) protected boolean
removeEntry
(E entry) protected boolean
removeEntryWithoutScrolling
(E entry) protected void
renderDecorations
(DrawContext context, int mouseX, int mouseY) protected void
renderEntry
(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight) protected void
renderHeader
(DrawContext context, int x, int y) protected void
renderList
(DrawContext context, int mouseX, int mouseY, float delta) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) protected void
replaceEntries
(Collection<E> newEntries) private void
scroll
(int amount) (package private) void
setEntryParentList
(EntryListWidget.Entry<E> entry) void
setFocused
(@Nullable Element focused) void
setRenderBackground
(boolean renderBackground) protected void
setRenderHeader
(boolean renderHeader, int headerHeight) void
setScrollAmount
(double amount) void
setSelected
(E entry) protected void
updateScrollingState
(double mouseX, double mouseY, int button) Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
getNavigationPath, isDragging, isFocused, setDragging, setFocused
Methods 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, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, hoveredElement, keyPressed, keyReleased
Methods 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 official b
Lexb;b:I
intermediary field_45909
Lnet/minecraft/class_350;field_45909:I
named field_45909
Lnet/minecraft/client/gui/widget/EntryListWidget;field_45909:I
-
SCROLLER_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Lexb;a:Lahg;
intermediary field_45908
Lnet/minecraft/class_350;field_45908:Lnet/minecraft/class_2960;
named SCROLLER_TEXTURE
Lnet/minecraft/client/gui/widget/EntryListWidget;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;
-
client
- Mappings:
Namespace Name Mixin selector official c
Lexb;c:Levi;
intermediary field_22740
Lnet/minecraft/class_350;field_22740:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/widget/EntryListWidget;client:Lnet/minecraft/client/MinecraftClient;
-
itemHeight
protected final int itemHeight- Mappings:
Namespace Name Mixin selector official d
Lexb;d:I
intermediary field_22741
Lnet/minecraft/class_350;field_22741:I
named itemHeight
Lnet/minecraft/client/gui/widget/EntryListWidget;itemHeight:I
-
children
- Mappings:
Namespace Name Mixin selector official m
Lexb;m:Ljava/util/List;
intermediary field_22739
Lnet/minecraft/class_350;field_22739:Ljava/util/List;
named children
Lnet/minecraft/client/gui/widget/EntryListWidget;children:Ljava/util/List;
-
centerListVertically
protected boolean centerListVertically- Mappings:
Namespace Name Mixin selector official e
Lexb;e:Z
intermediary field_22744
Lnet/minecraft/class_350;field_22744:Z
named centerListVertically
Lnet/minecraft/client/gui/widget/EntryListWidget;centerListVertically:Z
-
scrollAmount
private double scrollAmount- Mappings:
Namespace Name Mixin selector official n
Lexb;n:D
intermediary field_22749
Lnet/minecraft/class_350;field_22749:D
named scrollAmount
Lnet/minecraft/client/gui/widget/EntryListWidget;scrollAmount:D
-
renderHeader
private boolean renderHeader- Mappings:
Namespace Name Mixin selector official o
Lexb;o:Z
intermediary field_22747
Lnet/minecraft/class_350;field_22747:Z
named renderHeader
Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader:Z
-
headerHeight
protected int headerHeight- Mappings:
Namespace Name Mixin selector official f
Lexb;f:I
intermediary field_22748
Lnet/minecraft/class_350;field_22748:I
named headerHeight
Lnet/minecraft/client/gui/widget/EntryListWidget;headerHeight:I
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector official p
Lexb;p:Z
intermediary field_22750
Lnet/minecraft/class_350;field_22750:Z
named scrolling
Lnet/minecraft/client/gui/widget/EntryListWidget;scrolling:Z
-
selected
- Mappings:
Namespace Name Mixin selector official q
Lexb;q:Lexb$a;
intermediary field_22751
Lnet/minecraft/class_350;field_22751:Lnet/minecraft/class_350$class_351;
named selected
Lnet/minecraft/client/gui/widget/EntryListWidget;selected:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
renderBackground
private boolean renderBackground- Mappings:
Namespace Name Mixin selector official r
Lexb;r:Z
intermediary field_26846
Lnet/minecraft/class_350;field_26846:Z
named renderBackground
Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground:Z
-
hoveredEntry
- Mappings:
Namespace Name Mixin selector official t
Lexb;t:Lexb$a;
intermediary field_33780
Lnet/minecraft/class_350;field_33780:Lnet/minecraft/class_350$class_351;
named hoveredEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;hoveredEntry:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
-
Constructor Details
-
EntryListWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lexb;<init>(Levi;IIII)V
intermediary <init>
Lnet/minecraft/class_350;<init>(Lnet/minecraft/class_310;IIII)V
named <init>
Lnet/minecraft/client/gui/widget/EntryListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIII)V
-
-
Method Details
-
setRenderHeader
protected void setRenderHeader(boolean renderHeader, int headerHeight) - Mappings:
Namespace Name Mixin selector official a
Lexb;a(ZI)V
intermediary method_25315
Lnet/minecraft/class_350;method_25315(ZI)V
named setRenderHeader
Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderHeader(ZI)V
-
getRowWidth
public int getRowWidth()- Mappings:
Namespace Name Mixin selector official b
Lexb;b()I
intermediary method_25322
Lnet/minecraft/class_350;method_25322()I
named getRowWidth
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
getSelectedOrNull
Returns the selected entry of this entry list, ornull
if there is none.- Returns:
- the selected entry of this entry list, or
null
if there is none - Mappings:
Namespace Name Mixin selector official i
Lexb;i()Lexb$a;
intermediary method_25334
Lnet/minecraft/class_350;method_25334()Lnet/minecraft/class_350$class_351;
named getSelectedOrNull
Lnet/minecraft/client/gui/widget/EntryListWidget;getSelectedOrNull()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
setSelected
- Mappings:
Namespace Name Mixin selector official a
Lexb;a(Lexb$a;)V
intermediary method_25313
Lnet/minecraft/class_350;method_25313(Lnet/minecraft/class_350$class_351;)V
named setSelected
Lnet/minecraft/client/gui/widget/EntryListWidget;setSelected(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-
getFirst
- Mappings:
Namespace Name Mixin selector official j
Lexb;j()Lexb$a;
intermediary method_48200
Lnet/minecraft/class_350;method_48200()Lnet/minecraft/class_350$class_351;
named getFirst
Lnet/minecraft/client/gui/widget/EntryListWidget;getFirst()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
setRenderBackground
public void setRenderBackground(boolean renderBackground) - Mappings:
Namespace Name Mixin selector official c
Lexb;c(Z)V
intermediary method_31322
Lnet/minecraft/class_350;method_31322(Z)V
named setRenderBackground
Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderBackground(Z)V
-
getFocused
Description copied from class:ContainerWidget
- Specified by:
getFocused
in interfaceParentElement
- Overrides:
getFocused
in classContainerWidget
- Mappings:
Namespace Name Mixin selector official k
Lexb;k()Lexb$a;
intermediary method_25336
Lnet/minecraft/class_350;method_25336()Lnet/minecraft/class_350$class_351;
named getFocused
Lnet/minecraft/client/gui/widget/EntryListWidget;getFocused()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector official l
Leza;l()Ljava/util/List;
intermediary method_25396
Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
named children
Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
clearEntries
protected void clearEntries()- Mappings:
Namespace Name Mixin selector official m
Lexb;m()V
intermediary method_25339
Lnet/minecraft/class_350;method_25339()V
named clearEntries
Lnet/minecraft/client/gui/widget/EntryListWidget;clearEntries()V
-
replaceEntries
- Mappings:
Namespace Name Mixin selector official a
Lexb;a(Ljava/util/Collection;)V
intermediary method_25314
Lnet/minecraft/class_350;method_25314(Ljava/util/Collection;)V
named replaceEntries
Lnet/minecraft/client/gui/widget/EntryListWidget;replaceEntries(Ljava/util/Collection;)V
-
getEntry
- Mappings:
Namespace Name Mixin selector official d
Lexb;d(I)Lexb$a;
intermediary method_25326
Lnet/minecraft/class_350;method_25326(I)Lnet/minecraft/class_350$class_351;
named getEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;getEntry(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
addEntry
- Mappings:
Namespace Name Mixin selector official b
Lexb;b(Lexb$a;)I
intermediary method_25321
Lnet/minecraft/class_350;method_25321(Lnet/minecraft/class_350$class_351;)I
named addEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;addEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)I
-
addEntryToTop
- Mappings:
Namespace Name Mixin selector official c
Lexb;c(Lexb$a;)V
intermediary method_44399
Lnet/minecraft/class_350;method_44399(Lnet/minecraft/class_350$class_351;)V
named addEntryToTop
Lnet/minecraft/client/gui/widget/EntryListWidget;addEntryToTop(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-
removeEntryWithoutScrolling
- Mappings:
Namespace Name Mixin selector official d
Lexb;d(Lexb$a;)Z
intermediary method_44650
Lnet/minecraft/class_350;method_44650(Lnet/minecraft/class_350$class_351;)Z
named removeEntryWithoutScrolling
Lnet/minecraft/client/gui/widget/EntryListWidget;removeEntryWithoutScrolling(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Z
-
getEntryCount
protected int getEntryCount()- Mappings:
Namespace Name Mixin selector official n
Lexb;n()I
intermediary method_25340
Lnet/minecraft/class_350;method_25340()I
named getEntryCount
Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryCount()I
-
isSelectedEntry
protected boolean isSelectedEntry(int index) - Mappings:
Namespace Name Mixin selector official e
Lexb;e(I)Z
intermediary method_25332
Lnet/minecraft/class_350;method_25332(I)Z
named isSelectedEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;isSelectedEntry(I)Z
-
getEntryAtPosition
- Mappings:
Namespace Name Mixin selector official b
Lexb;b(DD)Lexb$a;
intermediary method_25308
Lnet/minecraft/class_350;method_25308(DD)Lnet/minecraft/class_350$class_351;
named getEntryAtPosition
Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryAtPosition(DD)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
getMaxPosition
protected int getMaxPosition()- Mappings:
Namespace Name Mixin selector official a
Lexb;a()I
intermediary method_25317
Lnet/minecraft/class_350;method_25317()I
named getMaxPosition
Lnet/minecraft/client/gui/widget/EntryListWidget;getMaxPosition()I
-
clickedHeader
protected boolean clickedHeader(int x, int y) Called when the header is clicked.- Returns:
true
to indicate that the event handling is successful/valid- Mappings:
Namespace Name Mixin selector official a
Lexb;a(II)Z
intermediary method_25310
Lnet/minecraft/class_350;method_25310(II)Z
named clickedHeader
Lnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)Z
-
renderHeader
- Mappings:
Namespace Name Mixin selector official a
Lexb;a(Lewu;II)V
intermediary method_25312
Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_332;II)V
named renderHeader
Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/gui/DrawContext;II)V
-
renderDecorations
- Mappings:
Namespace Name Mixin selector official b
Lexb;b(Lewu;II)V
intermediary method_25320
Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_332;II)V
named renderDecorations
Lnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/gui/DrawContext;II)V
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Lexe;b(Lewu;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
enableScissor
- Mappings:
Namespace Name Mixin selector official a
Lexb;a(Lewu;)V
intermediary method_49603
Lnet/minecraft/class_350;method_49603(Lnet/minecraft/class_332;)V
named enableScissor
Lnet/minecraft/client/gui/widget/EntryListWidget;enableScissor(Lnet/minecraft/client/gui/DrawContext;)V
-
centerScrollOn
- Mappings:
Namespace Name Mixin selector official e
Lexb;e(Lexb$a;)V
intermediary method_25324
Lnet/minecraft/class_350;method_25324(Lnet/minecraft/class_350$class_351;)V
named centerScrollOn
Lnet/minecraft/client/gui/widget/EntryListWidget;centerScrollOn(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-
ensureVisible
- Mappings:
Namespace Name Mixin selector official f
Lexb;f(Lexb$a;)V
intermediary method_25328
Lnet/minecraft/class_350;method_25328(Lnet/minecraft/class_350$class_351;)V
named ensureVisible
Lnet/minecraft/client/gui/widget/EntryListWidget;ensureVisible(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-
scroll
private void scroll(int amount) - Mappings:
Namespace Name Mixin selector official a
Lexb;a(I)V
intermediary method_25309
Lnet/minecraft/class_350;method_25309(I)V
named scroll
Lnet/minecraft/client/gui/widget/EntryListWidget;scroll(I)V
-
getScrollAmount
public double getScrollAmount()- Mappings:
Namespace Name Mixin selector official o
Lexb;o()D
intermediary method_25341
Lnet/minecraft/class_350;method_25341()D
named getScrollAmount
Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollAmount()D
-
setScrollAmount
public void setScrollAmount(double amount) - Mappings:
Namespace Name Mixin selector official a
Lexb;a(D)V
intermediary method_25307
Lnet/minecraft/class_350;method_25307(D)V
named setScrollAmount
Lnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmount(D)V
-
getMaxScroll
public int getMaxScroll()- Mappings:
Namespace Name Mixin selector official p
Lexb;p()I
intermediary method_25331
Lnet/minecraft/class_350;method_25331()I
named getMaxScroll
Lnet/minecraft/client/gui/widget/EntryListWidget;getMaxScroll()I
-
updateScrollingState
protected void updateScrollingState(double mouseX, double mouseY, int button) - Mappings:
Namespace Name Mixin selector official c
Lexb;c(DDI)V
intermediary method_25318
Lnet/minecraft/class_350;method_25318(DDI)V
named updateScrollingState
Lnet/minecraft/client/gui/widget/EntryListWidget;updateScrollingState(DDI)V
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Mappings:
Namespace Name Mixin selector official c
Lexb;c()I
intermediary method_25329
Lnet/minecraft/class_350;method_25329()I
named getScrollbarPositionX
Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
isSelectButton
protected boolean isSelectButton(int button) - Mappings:
Namespace Name Mixin selector official f
Lexb;f(I)Z
intermediary method_53812
Lnet/minecraft/class_350;method_53812(I)Z
named isSelectButton
Lnet/minecraft/client/gui/widget/EntryListWidget;isSelectButton(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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Specified by:
mouseClicked
in interfaceParentElement
- Overrides:
mouseClicked
in classContainerWidget
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(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 inGLFW
class.- Specified by:
mouseReleased
in interfaceElement
- Specified by:
mouseReleased
in interfaceParentElement
- Overrides:
mouseReleased
in classContainerWidget
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lezb;b(DDI)Z
intermediary method_25406
Lnet/minecraft/class_364;method_25406(DDI)Z
named mouseReleased
Lnet/minecraft/client/gui/Element;mouseReleased(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 inGLFW
class.- Specified by:
mouseDragged
in interfaceElement
- Specified by:
mouseDragged
in interfaceParentElement
- Overrides:
mouseDragged
in 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(DDIDD)Z
intermediary method_25403
Lnet/minecraft/class_364;method_25403(DDIDD)Z
named mouseDragged
Lnet/minecraft/client/gui/Element;mouseDragged(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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(DDDD)Z
intermediary method_25401
Lnet/minecraft/class_364;method_25401(DDDD)Z
named mouseScrolled
Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
- Overrides:
setFocused
in classContainerWidget
- Mappings:
Namespace Name Mixin selector official a
Leza;a(Lezb;)V
intermediary method_25395
Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
named setFocused
Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.- Specified by:
isMouseOver
in interfaceElement
- Overrides:
isMouseOver
in classClickableWidget
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mouse- Returns:
true
if the mouse is within the bound of the element, otherwisefalse
- Mappings:
Namespace Name Mixin selector official c
Lezb;c(DD)Z
intermediary method_25405
Lnet/minecraft/class_364;method_25405(DD)Z
named isMouseOver
Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
renderList
- Mappings:
Namespace Name Mixin selector official c
Lexb;c(Lewu;IIF)V
intermediary method_25311
Lnet/minecraft/class_350;method_25311(Lnet/minecraft/class_332;IIF)V
named renderList
Lnet/minecraft/client/gui/widget/EntryListWidget;renderList(Lnet/minecraft/client/gui/DrawContext;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 official a
Lexb;a(Lewu;IIFIIIII)V
intermediary method_44397
Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_332;IIFIIIII)V
named renderEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/gui/DrawContext;IIFIIIII)V
-
drawSelectionHighlight
protected void drawSelectionHighlight(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor) - Mappings:
Namespace Name Mixin selector official a
Lexb;a(Lewu;IIIII)V
intermediary method_44398
Lnet/minecraft/class_350;method_44398(Lnet/minecraft/class_332;IIIII)V
named drawSelectionHighlight
Lnet/minecraft/client/gui/widget/EntryListWidget;drawSelectionHighlight(Lnet/minecraft/client/gui/DrawContext;IIIII)V
-
getRowLeft
public int getRowLeft()- Mappings:
Namespace Name Mixin selector official q
Lexb;q()I
intermediary method_25342
Lnet/minecraft/class_350;method_25342()I
named getRowLeft
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowLeft()I
-
getRowRight
public int getRowRight()- Mappings:
Namespace Name Mixin selector official r
Lexb;r()I
intermediary method_31383
Lnet/minecraft/class_350;method_31383()I
named getRowRight
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowRight()I
-
getRowTop
protected int getRowTop(int index) - Mappings:
Namespace Name Mixin selector official g
Lexb;g(I)I
intermediary method_25337
Lnet/minecraft/class_350;method_25337(I)I
named getRowTop
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowTop(I)I
-
getRowBottom
protected int getRowBottom(int index) - Mappings:
Namespace Name Mixin selector official h
Lexb;h(I)I
intermediary method_25319
Lnet/minecraft/class_350;method_25319(I)I
named getRowBottom
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowBottom(I)I
-
getType
- Specified by:
getType
in interfaceSelectable
- Overrides:
getType
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official s
Lfax;s()Lfax$a;
intermediary method_37018
Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
named getType
Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
-
remove
- Mappings:
Namespace Name Mixin selector official i
Lexb;i(I)Lexb$a;
intermediary method_25338
Lnet/minecraft/class_350;method_25338(I)Lnet/minecraft/class_350$class_351;
named remove
Lnet/minecraft/client/gui/widget/EntryListWidget;remove(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
removeEntry
- Mappings:
Namespace Name Mixin selector official g
Lexb;g(Lexb$a;)Z
intermediary method_25330
Lnet/minecraft/class_350;method_25330(Lnet/minecraft/class_350$class_351;)Z
named removeEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;removeEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Z
-
getHoveredEntry
- Mappings:
Namespace Name Mixin selector official t
Lexb;t()Lexb$a;
intermediary method_37019
Lnet/minecraft/class_350;method_37019()Lnet/minecraft/class_350$class_351;
named getHoveredEntry
Lnet/minecraft/client/gui/widget/EntryListWidget;getHoveredEntry()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
-
setEntryParentList
- Mappings:
Namespace Name Mixin selector official h
Lexb;h(Lexb$a;)V
intermediary method_29621
Lnet/minecraft/class_350;method_29621(Lnet/minecraft/class_350$class_351;)V
named setEntryParentList
Lnet/minecraft/client/gui/widget/EntryListWidget;setEntryParentList(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-
appendNarrations
- Mappings:
Namespace Name Mixin selector official a
Lexb;a(Lfaz;Lexb$a;)V
intermediary method_37017
Lnet/minecraft/class_350;method_37017(Lnet/minecraft/class_6382;Lnet/minecraft/class_350$class_351;)V
named appendNarrations
Lnet/minecraft/client/gui/widget/EntryListWidget;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
-