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
,Narratable
- Enclosing class:
StatsScreen.ItemStatsListWidget
@Environment(CLIENT)
private class StatsScreen.ItemStatsListWidget.Entry
extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
Namespace Name official epj$b$a
intermediary net/minecraft/class_447$class_4200$class_4199
named net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry
-
Field Summary
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetItem()
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.protected void
render
(MatrixStack matrices, @Nullable Stat<?> stat, int x, int y, boolean white) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry
appendNarrations, changeFocus
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
isMouseOver
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
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
item
- Mappings:
Namespace Name Mixin selector official b
Lepj$b$a;b:Lcdp;
intermediary field_33830
Lnet/minecraft/class_447$class_4200$class_4199;field_33830:Lnet/minecraft/class_1792;
named item
Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;item:Lnet/minecraft/item/Item;
-
-
Constructor Details
-
Entry
Entry(Item item) - Mappings:
Namespace Name Mixin selector official <init>
Lepj$b$a;<init>(Lepj$b;Lcdp;)V
intermediary <init>
Lnet/minecraft/class_447$class_4200$class_4199;<init>(Lnet/minecraft/class_447$class_4200;Lnet/minecraft/class_1792;)V
named <init>
Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;<init>(Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;Lnet/minecraft/item/Item;)V
-
-
Method Details
-
getItem
- Mappings:
Namespace Name Mixin selector official a
Lepj$b$a;a()Lcdp;
intermediary method_37307
Lnet/minecraft/class_447$class_4200$class_4199;method_37307()Lnet/minecraft/class_1792;
named getItem
Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;getItem()Lnet/minecraft/item/Item;
-
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:
render
in 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 a
Leku$a;a(Leed;IIIIIIIZF)V
intermediary method_25343
Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_4587;IIIIIIIZF)V
named render
Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIZF)V
-
render
protected void render(MatrixStack matrices, @Nullable @Nullable Stat<?> stat, int x, int y, boolean white) - Mappings:
Namespace Name Mixin selector official a
Lepj$b$a;a(Leed;Lalv;IIZ)V
intermediary method_19405
Lnet/minecraft/class_447$class_4200$class_4199;method_19405(Lnet/minecraft/class_4587;Lnet/minecraft/class_3445;IIZ)V
named render
Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/stat/Stat;IIZ)V
-
getNarration
- Specified by:
getNarration
in classAlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official b
Lelt$a;b()Lss;
intermediary method_37006
Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;
named getNarration
Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;
-