类 EntryListWidget.Entry<E extends EntryListWidget.Entry<E>>
- java.lang.Object
-
- net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
-
- 所有已实现的接口:
Element
- 封闭类:
- EntryListWidget<E extends EntryListWidget.Entry<E>>
@Environment(CLIENT) public abstract static class EntryListWidget.Entry<E extends EntryListWidget.Entry<E>> extends Object implements Element
- Mappings:
Namespace Name official dvs$aintermediary net/minecraft/class_350$class_351named net/minecraft/client/gui/widget/EntryListWidget$Entry
-
-
字段概要
字段 修饰符和类型 字段 说明 private EntryListWidget<E>parentList已过时。
-
构造器概要
构造器 构造器 说明 Entry()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 booleanisMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.abstract voidrender(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)Renders an entry in a list.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
changeFocus, charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
字段详细资料
-
parentList
@Deprecated private EntryListWidget<E extends EntryListWidget.Entry<E>> parentList
已过时。- Mappings:
Namespace Name Mixin selector official aLdvs$a;a:Ldvs;intermediary field_22752Lnet/minecraft/class_350$class_351;field_22752:Lnet/minecraft/class_350;named parentListLnet/minecraft/client/gui/widget/EntryListWidget$Entry;parentList:Lnet/minecraft/client/gui/widget/EntryListWidget;
-
-
方法详细资料
-
render
public abstract void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
Renders an entry in a list.- 参数:
matrices- the matrix stack used for renderingindex- the index of the entryy- the Y coordinate of the entryx- the X coordinate of the entryentryWidth- the width of the entryentryHeight- the height of the entrymouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehovered- whether the mouse is hovering over the entry- Mappings:
Namespace Name Mixin selector official aLdvs$a;a(Ldpi;IIIIIIIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)Vnamed renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.- 指定者:
isMouseOver在接口中Element- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- 返回:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector official bLdwv;b(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Znamed isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
-