Package net.minecraft.client.gui.widget
Class EntryListWidget.Entry<E extends EntryListWidget.Entry<E>>
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
- Direct Known Subclasses:
- AlwaysSelectedEntryListWidget.Entry,- ElementListWidget.Entry
- Enclosing class:
- EntryListWidget<E extends EntryListWidget.Entry<E>>
@Environment(CLIENT)
protected abstract static class EntryListWidget.Entry<E extends EntryListWidget.Entry<E>>
extends Object
implements Element
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/widget/EntryListWidget$Entry- intermediary - net/minecraft/class_350$class_351- official - fon$a
- 
Field SummaryFieldsFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddrawBorder(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) booleanbooleanisMouseOver(double double2, double double3) Checks if the mouse position is within the bound of the element.abstract voidrender(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.voidsetFocused(boolean bool) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, getNavigationFocus, getNavigationPath, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrder
- 
Field Details- 
parentListDeprecated.- Mappings:
- Namespace - Name - Mixin selector - named - parentList- Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;parentList:Lnet/minecraft/client/gui/widget/EntryListWidget;- intermediary - field_22752- Lnet/minecraft/class_350$class_351;field_22752:Lnet/minecraft/class_350;- official - a- Lfon$a;a:Lfon;
 
 
- 
- 
Constructor Details- 
Entryprotected Entry()
 
- 
- 
Method Details- 
setFocusedpublic void setFocused(boolean bool) - Specified by:
- setFocusedin interface- Element
- Mappings:
- Namespace - Name - Mixin selector - named - setFocused- Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setFocused(Z)V- intermediary - method_25365- Lnet/minecraft/class_350$class_351;method_25365(Z)V- official - method_25365- Lfon$a;method_25365(Z)V
 
- 
isFocusedpublic boolean isFocused()
- 
renderpublic abstract void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) Renders an entry in a list.- Parameters:
- 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 - named - render- Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V- intermediary - method_25343- Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V- official - a- Lfon$a;a(Lfof;IIIIIIIZF)V
 
- 
drawBorderpublic void drawBorder(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta) - Mappings:
- Namespace - Name - Mixin selector - named - drawBorder- Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;drawBorder(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V- intermediary - method_49568- Lnet/minecraft/class_350$class_351;method_49568(Lnet/minecraft/class_332;IIIIIIIZF)V- official - b- Lfon$a;b(Lfof;IIIIIIIZF)V
 
- 
isMouseOverpublic boolean isMouseOver(double double2, double double3) Description copied from interface:ElementChecks if the mouse position is within the bound of the element.- Specified by:
- isMouseOverin interface- Element
- Parameters:
- double2- the X coordinate of the mouse
- double3- the Y coordinate of the mouse
- Returns:
- trueif the mouse is within the bound of the element, otherwise- false
- Mappings:
- Namespace - Name - Mixin selector - named - isMouseOver- Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;isMouseOver(DD)Z- intermediary - method_25405- Lnet/minecraft/class_350$class_351;method_25405(DD)Z- official - method_25405- Lfon$a;method_25405(DD)Z
 
 
-