Package net.minecraft.client.gui.screen
Class StatsScreen.ItemStatsListWidget.Entry
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
net.minecraft.client.gui.screen.StatsScreen.ItemStatsListWidget.Entry
- All Implemented Interfaces:
- Element,- Narratable,- Navigable
- Enclosing class:
- StatsScreen.ItemStatsListWidget
@Environment(CLIENT)
private class StatsScreen.ItemStatsListWidget.Entry
extends AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry- intermediary - net/minecraft/class_447$class_4200$class_4199- official - fuq$b$a
- 
Field SummaryFieldsFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetItem()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.protected voidrender(DrawContext context, @Nullable Stat<?> stat, int x, int y, boolean white) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget.EntryappendNarrations, mouseClickedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.EntrydrawBorder, isFocused, isMouseOver, setFocusedMethods 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, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrder
- 
Field Details- 
item- Mappings:
- Namespace - Name - Mixin selector - named - item- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;item:Lnet/minecraft/item/Item;- intermediary - field_33830- Lnet/minecraft/class_447$class_4200$class_4199;field_33830:Lnet/minecraft/class_1792;- official - b- Lfuq$b$a;b:Lcwm;
 
 
- 
- 
Constructor Details- 
EntryEntry(Item item) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;<init>(Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;Lnet/minecraft/item/Item;)V- intermediary - <init>- Lnet/minecraft/class_447$class_4200$class_4199;<init>(Lnet/minecraft/class_447$class_4200;Lnet/minecraft/class_1792;)V- official - <init>- Lfuq$b$a;<init>(Lfuq$b;Lcwm;)V
 
 
- 
- 
Method Details- 
getItem- Mappings:
- Namespace - Name - Mixin selector - named - getItem- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;getItem()Lnet/minecraft/item/Item;- intermediary - method_37307- Lnet/minecraft/class_447$class_4200$class_4199;method_37307()Lnet/minecraft/class_1792;- official - b- Lfuq$b$a;b()Lcwm;
 
- 
renderpublic 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.- Specified by:
- renderin class- EntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- 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
 
- 
renderprotected void render(DrawContext context, @Nullable @Nullable Stat<?> stat, int x, int y, boolean white) - Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/stat/Stat;IIZ)V- intermediary - method_19405- Lnet/minecraft/class_447$class_4200$class_4199;method_19405(Lnet/minecraft/class_332;Lnet/minecraft/class_3445;IIZ)V- official - a- Lfuq$b$a;a(Lfof;Lawh;IIZ)V
 
- 
getNarration- Specified by:
- getNarrationin class- AlwaysSelectedEntryListWidget.Entry<StatsScreen.ItemStatsListWidget.Entry>
- Mappings:
- Namespace - Name - Mixin selector - named - getNarration- Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;getNarration()Lnet/minecraft/text/Text;- intermediary - method_37006- Lnet/minecraft/class_4280$class_4281;method_37006()Lnet/minecraft/class_2561;- official - a- Lfpq$a;a()Lwp;
 
 
-