Package net.minecraft.client.gui.screen
Class StatsScreen.ItemStatsListWidget.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.screen.StatsScreen.ItemStatsListWidget.Entry
- All Implemented Interfaces:
Element
- Enclosing class:
- StatsScreen.ItemStatsListWidget
@Environment(CLIENT) class StatsScreen.ItemStatsListWidget.Entry extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
Namespace Name official dvm$b$bintermediary net/minecraft/class_447$class_4200$class_4199named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry
-
Constructor Summary
Constructors Modifier Constructor Description privateEntry() -
Method Summary
Modifier and Type Method Description 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.protected voidrender(MatrixStack matrices, Stat<?> stat, int int2, int int3, boolean bool)Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
changeFocusMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOverMethods 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, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Constructor Details
-
Entry
private Entry()
-
-
Method Details
-
render
public 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.- Specified by:
renderin classEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>- Parameters:
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 aLdrq$a;a(Ldlr;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
-
render
protected void render(MatrixStack matrices, @Nullable Stat<?> stat, int int2, int int3, boolean bool)- Mappings:
Namespace Name Mixin selector official aLdvm$b$b;a(Ldlr;Laen;IIZ)Vintermediary method_19405Lnet/minecraft/class_447$class_4200$class_4199;method_19405(Lnet/minecraft/class_4587;Lnet/minecraft/class_3445;IIZ)Vnamed renderLnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/stat/Stat;IIZ)V
-