Package net.minecraft.client.gui.screen
Class StatsScreen.CustomStatsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.screen.StatsScreen.CustomStatsListWidget
- Direct Known Subclasses:
StatsScreen.BlockStatsListWidget,StatsScreen.ItemStatsListWidget
- Enclosing class:
- StatsScreen
- Mappings:
Namespace Name official bgf$eintermediary net/minecraft/class_402$class_408named net/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CraftingStat>protected intprotected intprotected intprotected Comparator<CraftingStat>Fields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1254, field_1256, field_7735, headerHeight, height, lastMouseX, lastMouseY, renderHeader, renderSelection, scrollAmount, time, visible, width, xEnd, xStart, yDrag, yEnd, yStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclickedHeader(int mouseX, int mouseY) protected final CraftingStatgetEntry(int index) protected final intintprotected intprotected booleanisEntrySelected(int index) protected abstract Stringmethod_1124(int int2) protected voidmethod_1126(int int2) protected voidrender(CraftingStat stat, int x, int y) protected voidprotected voidrenderDecorations(int mouseX, int mouseY) protected voidrenderHeader(int x, int y, Tessellator tessellator) protected voidrenderStat(Stat stat, int x, int y, boolean bool) protected voidselectEntry(int index, boolean bool, int lastMouseX, int lastMouseY) Methods inherited from class net.minecraft.client.gui.widget.ListWidget
buttonClicked, capYPosition, getEntryAt, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, handleMouse, isDragging, isMouseInList, render, renderEntry, renderHoleBackground, renderList, scroll, setButtonIds, setDragging, setHeader, setRenderSelection, setXPos, updateBounds, updateItemPosition
-
Field Details
-
field_1340
protected int field_1340- Mappings:
Namespace Name Mixin selector official vLbgf$e;v:Iintermediary field_1340Lnet/minecraft/class_402$class_408;field_1340:Inamed field_1340Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;field_1340:I
-
entries
- Mappings:
Namespace Name Mixin selector official wLbgf$e;w:Ljava/util/List;intermediary field_1341Lnet/minecraft/class_402$class_408;field_1341:Ljava/util/List;named entriesLnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;entries:Ljava/util/List;
-
statComparator
- Mappings:
Namespace Name Mixin selector official xLbgf$e;x:Ljava/util/Comparator;intermediary field_1342Lnet/minecraft/class_402$class_408;field_1342:Ljava/util/Comparator;named statComparatorLnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;statComparator:Ljava/util/Comparator;
-
field_1343
protected int field_1343- Mappings:
Namespace Name Mixin selector official yLbgf$e;y:Iintermediary field_1343Lnet/minecraft/class_402$class_408;field_1343:Inamed field_1343Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;field_1343:I
-
field_1344
protected int field_1344- Mappings:
Namespace Name Mixin selector official zLbgf$e;z:Iintermediary field_1344Lnet/minecraft/class_402$class_408;field_1344:Inamed field_1344Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;field_1344:I
-
-
Constructor Details
-
CustomStatsListWidget
- Mappings:
Namespace Name Mixin selector official <init>Lbgf$e;<init>(Lbgf;Lbcx;)Vintermediary <init>Lnet/minecraft/class_402$class_408;<init>(Lnet/minecraft/class_402;Lnet/minecraft/class_1600;)Vnamed <init>Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;<init>(Lnet/minecraft/client/gui/screen/StatsScreen;Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
selectEntry
protected void selectEntry(int index, boolean bool, int lastMouseX, int lastMouseY) - Specified by:
selectEntryin classListWidget- Mappings:
Namespace Name Mixin selector official aLbei;a(IZII)Vintermediary method_1057Lnet/minecraft/class_390;method_1057(IZII)Vnamed selectEntryLnet/minecraft/client/gui/widget/ListWidget;selectEntry(IZII)V
-
isEntrySelected
protected boolean isEntrySelected(int index) - Specified by:
isEntrySelectedin classListWidget- Mappings:
Namespace Name Mixin selector official aLbei;a(I)Zintermediary method_1051Lnet/minecraft/class_390;method_1051(I)Znamed isEntrySelectedLnet/minecraft/client/gui/widget/ListWidget;isEntrySelected(I)Z
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- Mappings:
Namespace Name Mixin selector official cLbei;c()Iintermediary method_6706Lnet/minecraft/class_390;method_6706()Inamed getRowWidthLnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classListWidget- Mappings:
Namespace Name Mixin selector official dLbei;d()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-
renderBackground
protected void renderBackground()- Specified by:
renderBackgroundin classListWidget- Mappings:
Namespace Name Mixin selector official aLbei;a()Vintermediary method_1066Lnet/minecraft/class_390;method_1066()Vnamed renderBackgroundLnet/minecraft/client/gui/widget/ListWidget;renderBackground()V
-
renderHeader
- Overrides:
renderHeaderin classListWidget- Mappings:
Namespace Name Mixin selector official aLbei;a(IILbon;)Vintermediary method_1056Lnet/minecraft/class_390;method_1056(IILnet/minecraft/class_533;)Vnamed renderHeaderLnet/minecraft/client/gui/widget/ListWidget;renderHeader(IILnet/minecraft/client/render/Tessellator;)V
-
clickedHeader
protected void clickedHeader(int mouseX, int mouseY) - Overrides:
clickedHeaderin classListWidget- Mappings:
Namespace Name Mixin selector official aLbei;a(II)Vintermediary method_1052Lnet/minecraft/class_390;method_1052(II)Vnamed clickedHeaderLnet/minecraft/client/gui/widget/ListWidget;clickedHeader(II)V
-
getEntryCount
protected final int getEntryCount()- Specified by:
getEntryCountin classListWidget- Mappings:
Namespace Name Mixin selector official bLbei;b()Iintermediary method_1050Lnet/minecraft/class_390;method_1050()Inamed getEntryCountLnet/minecraft/client/gui/widget/ListWidget;getEntryCount()I
-
getEntry
- Mappings:
Namespace Name Mixin selector official cLbgf$e;c(I)Lnq;intermediary method_1125Lnet/minecraft/class_402$class_408;method_1125(I)Lnet/minecraft/class_818;named getEntryLnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;getEntry(I)Lnet/minecraft/stat/CraftingStat;
-
method_1124
- Mappings:
Namespace Name Mixin selector official bLbgf$e;b(I)Ljava/lang/String;intermediary method_1124Lnet/minecraft/class_402$class_408;method_1124(I)Ljava/lang/String;named method_1124Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;method_1124(I)Ljava/lang/String;
-
renderStat
- Mappings:
Namespace Name Mixin selector official aLbgf$e;a(Lns;IIZ)Vintermediary method_1123Lnet/minecraft/class_402$class_408;method_1123(Lnet/minecraft/class_819;IIZ)Vnamed renderStatLnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;renderStat(Lnet/minecraft/stat/Stat;IIZ)V
-
renderDecorations
protected void renderDecorations(int mouseX, int mouseY) - Overrides:
renderDecorationsin classListWidget- Mappings:
Namespace Name Mixin selector official bLbei;b(II)Vintermediary method_1064Lnet/minecraft/class_390;method_1064(II)Vnamed renderDecorationsLnet/minecraft/client/gui/widget/ListWidget;renderDecorations(II)V
-
render
- Mappings:
Namespace Name Mixin selector official aLbgf$e;a(Lnq;II)Vintermediary method_1122Lnet/minecraft/class_402$class_408;method_1122(Lnet/minecraft/class_818;II)Vnamed renderLnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;render(Lnet/minecraft/stat/CraftingStat;II)V
-
method_1126
protected void method_1126(int int2) - Mappings:
Namespace Name Mixin selector official dLbgf$e;d(I)Vintermediary method_1126Lnet/minecraft/class_402$class_408;method_1126(I)Vnamed method_1126Lnet/minecraft/client/gui/screen/StatsScreen$CustomStatsListWidget;method_1126(I)V
-