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, Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/EntryListWidget$Entryintermediary net/minecraft/class_350$class_351official fzk$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intstatic final int(package private) EntryListWidget<E> Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachChild(Consumer<ClickableWidget> consumer) intintgetWidth()intgetX()intgetY()booleanbooleanisMouseOver(double double2, double double3) Checks if the mouse position is within the bound of the element.intvoidmethod_73381(int int2) intvoidmethod_73383(int int2) intintintintintintabstract voidrender(DrawContext context, int index, int y, boolean bool, float float2) Renders an entry in a list.voidsetFocused(boolean bool) voidsetX(int int2) voidsetY(int int2) Methods 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
charTyped, getBorder, getFocusedPath, getNavigationPath, keyPressed, keyReleased, method_72784, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_62115
public static final int field_62115- See Also:
- Mappings:
Namespace Name Mixin selector named field_62115Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;field_62115:Iintermediary field_62115Lnet/minecraft/class_350$class_351;field_62115:Iofficial gLfzk$a;g:I
-
field_62111
private int field_62111- Mappings:
Namespace Name Mixin selector named field_62111Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;field_62111:Iintermediary field_62111Lnet/minecraft/class_350$class_351;field_62111:Iofficial aLfzk$a;a:I
-
field_62112
private int field_62112- Mappings:
Namespace Name Mixin selector named field_62112Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;field_62112:Iintermediary field_62112Lnet/minecraft/class_350$class_351;field_62112:Iofficial bLfzk$a;b:I
-
field_62113
private int field_62113- Mappings:
Namespace Name Mixin selector named field_62113Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;field_62113:Iintermediary field_62113Lnet/minecraft/class_350$class_351;field_62113:Iofficial cLfzk$a;c:I
-
field_62114
private int field_62114- Mappings:
Namespace Name Mixin selector named field_62114Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;field_62114:Iintermediary field_62114Lnet/minecraft/class_350$class_351;field_62114:Iofficial dLfzk$a;d:I
-
parentList
Deprecated.- Mappings:
Namespace Name Mixin selector named parentListLnet/minecraft/client/gui/widget/EntryListWidget$Entry;parentList:Lnet/minecraft/client/gui/widget/EntryListWidget;intermediary field_22752Lnet/minecraft/class_350$class_351;field_22752:Lnet/minecraft/class_350;official eLfzk$a;e:Lfzk;
-
-
Constructor Details
-
Entry
protected Entry()
-
-
Method Details
-
setFocused
public void setFocused(boolean bool) - Specified by:
setFocusedin interfaceElement- Mappings:
Namespace Name Mixin selector named setFocusedLnet/minecraft/client/gui/widget/EntryListWidget$Entry;setFocused(Z)Vintermediary method_25365Lnet/minecraft/class_350$class_351;method_25365(Z)Vofficial method_25365Lfzk$a;method_25365(Z)V
-
isFocused
public boolean isFocused() -
render
Renders an entry in a list.- Parameters:
index- the index of the entryy- the Y coordinate of the entry- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)Vofficial aLfzk$a;a(Lfze;IIZF)V
-
isMouseOver
public 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 interfaceElement- Parameters:
double2- the X coordinate of the mousedouble3- 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/widget/EntryListWidget$Entry;isMouseOver(DD)Zintermediary method_25405Lnet/minecraft/class_350$class_351;method_25405(DD)Zofficial method_25405Lfzk$a;method_25405(DD)Z
-
setX
public void setX(int int2) -
setY
public void setY(int int2) -
method_73381
public void method_73381(int int2) - Mappings:
Namespace Name Mixin selector named method_73381Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73381(I)Vintermediary method_73381Lnet/minecraft/class_350$class_351;method_73381(I)Vofficial gLfzk$a;g(I)V
-
method_73383
public void method_73383(int int2) - Mappings:
Namespace Name Mixin selector named method_73383Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73383(I)Vintermediary method_73383Lnet/minecraft/class_350$class_351;method_73383(I)Vofficial hLfzk$a;h(I)V
-
method_73380
public int method_73380()- Mappings:
Namespace Name Mixin selector named method_73380Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73380()Iintermediary method_73380Lnet/minecraft/class_350$class_351;method_73380()Iofficial dLfzk$a;d()I
-
method_73382
public int method_73382()- Mappings:
Namespace Name Mixin selector named method_73382Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73382()Iintermediary method_73382Lnet/minecraft/class_350$class_351;method_73382()Iofficial hLfzk$a;h()I
-
method_73384
public int method_73384()- Mappings:
Namespace Name Mixin selector named method_73384Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73384()Iintermediary method_73384Lnet/minecraft/class_350$class_351;method_73384()Iofficial iLfzk$a;i()I
-
method_73385
public int method_73385()- Mappings:
Namespace Name Mixin selector named method_73385Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73385()Iintermediary method_73385Lnet/minecraft/class_350$class_351;method_73385()Iofficial jLfzk$a;j()I
-
method_73386
public int method_73386()- Mappings:
Namespace Name Mixin selector named method_73386Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73386()Iintermediary method_73386Lnet/minecraft/class_350$class_351;method_73386()Iofficial kLfzk$a;k()I
-
method_73387
public int method_73387()- Mappings:
Namespace Name Mixin selector named method_73387Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73387()Iintermediary method_73387Lnet/minecraft/class_350$class_351;method_73387()Iofficial lLfzk$a;l()I
-
method_73388
public int method_73388()- Mappings:
Namespace Name Mixin selector named method_73388Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73388()Iintermediary method_73388Lnet/minecraft/class_350$class_351;method_73388()Iofficial mLfzk$a;m()I
-
method_73389
public int method_73389()- Mappings:
Namespace Name Mixin selector named method_73389Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;method_73389()Iintermediary method_73389Lnet/minecraft/class_350$class_351;method_73389()Iofficial nLfzk$a;n()I
-
getX
public int getX() -
getY
public int getY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
forEachChild
- Specified by:
forEachChildin interfaceWidget- Mappings:
Namespace Name Mixin selector named forEachChildLnet/minecraft/client/gui/widget/EntryListWidget$Entry;forEachChild(Ljava/util/function/Consumer;)Vintermediary method_48206Lnet/minecraft/class_350$class_351;method_48206(Ljava/util/function/Consumer;)Vofficial method_48206Lfzk$a;method_48206(Ljava/util/function/Consumer;)V
-