Package net.minecraft.client.gui.screen
Class StatsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.StatsScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,StatsListener
- Mappings:
Namespace Name official eavintermediary net/minecraft/class_447named net/minecraft/client/gui/screen/StatsScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprivate classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate booleanprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int(package private) StatsScreen.ItemStatsListWidgetprotected final Screenprivate @Nullable AlwaysSelectedEntryListWidget<?>(package private) final StatHandlerFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.screen.StatsListener
PROGRESS_BAR_STAGES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid(package private) intgetColumnX(int index) (package private) static StringgetStatTranslationKey(Stat<Identifier> stat) protected voidinit()Called when a screen should be initialized.booleanvoidvoidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) (package private) voidrenderIcon(MatrixStack matrices, int x, int y, int u, int v) (package private) voidrenderStatItem(MatrixStack matrices, int x, int y, Item item) voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onClose, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
DOWNLOADING_STATS_TEXT
- Mappings:
Namespace Name Mixin selector official cLeav;c:Lot;intermediary field_26546Lnet/minecraft/class_447;field_26546:Lnet/minecraft/class_2561;named DOWNLOADING_STATS_TEXTLnet/minecraft/client/gui/screen/StatsScreen;DOWNLOADING_STATS_TEXT:Lnet/minecraft/text/Text;
-
field_32281
private static final int field_32281- See Also:
- Mappings:
Namespace Name Mixin selector official tLeav;t:Iintermediary field_32281Lnet/minecraft/class_447;field_32281:Inamed field_32281Lnet/minecraft/client/gui/screen/StatsScreen;field_32281:I
-
field_32282
private static final int field_32282- See Also:
- Mappings:
Namespace Name Mixin selector official uLeav;u:Iintermediary field_32282Lnet/minecraft/class_447;field_32282:Inamed field_32282Lnet/minecraft/client/gui/screen/StatsScreen;field_32282:I
-
field_32283
private static final int field_32283- See Also:
- Mappings:
Namespace Name Mixin selector official vLeav;v:Iintermediary field_32283Lnet/minecraft/class_447;field_32283:Inamed field_32283Lnet/minecraft/client/gui/screen/StatsScreen;field_32283:I
-
field_32284
private static final int field_32284- See Also:
- Mappings:
Namespace Name Mixin selector official wLeav;w:Iintermediary field_32284Lnet/minecraft/class_447;field_32284:Inamed field_32284Lnet/minecraft/client/gui/screen/StatsScreen;field_32284:I
-
field_32285
private static final int field_32285- See Also:
- Mappings:
Namespace Name Mixin selector official xLeav;x:Iintermediary field_32285Lnet/minecraft/class_447;field_32285:Inamed field_32285Lnet/minecraft/client/gui/screen/StatsScreen;field_32285:I
-
field_32274
private static final int field_32274- See Also:
- Mappings:
Namespace Name Mixin selector official yLeav;y:Iintermediary field_32274Lnet/minecraft/class_447;field_32274:Inamed field_32274Lnet/minecraft/client/gui/screen/StatsScreen;field_32274:I
-
field_32275
private static final int field_32275- See Also:
- Mappings:
Namespace Name Mixin selector official zLeav;z:Iintermediary field_32275Lnet/minecraft/class_447;field_32275:Inamed field_32275Lnet/minecraft/client/gui/screen/StatsScreen;field_32275:I
-
field_32276
private static final int field_32276- See Also:
- Mappings:
Namespace Name Mixin selector official ALeav;A:Iintermediary field_32276Lnet/minecraft/class_447;field_32276:Inamed field_32276Lnet/minecraft/client/gui/screen/StatsScreen;field_32276:I
-
field_32277
private static final int field_32277- See Also:
- Mappings:
Namespace Name Mixin selector official BLeav;B:Iintermediary field_32277Lnet/minecraft/class_447;field_32277:Inamed field_32277Lnet/minecraft/client/gui/screen/StatsScreen;field_32277:I
-
field_32278
private static final int field_32278- See Also:
- Mappings:
Namespace Name Mixin selector official CLeav;C:Iintermediary field_32278Lnet/minecraft/class_447;field_32278:Inamed field_32278Lnet/minecraft/client/gui/screen/StatsScreen;field_32278:I
-
field_32279
private static final int field_32279- See Also:
- Mappings:
Namespace Name Mixin selector official DLeav;D:Iintermediary field_32279Lnet/minecraft/class_447;field_32279:Inamed field_32279Lnet/minecraft/client/gui/screen/StatsScreen;field_32279:I
-
field_32280
private static final int field_32280- See Also:
- Mappings:
Namespace Name Mixin selector official ELeav;E:Iintermediary field_32280Lnet/minecraft/class_447;field_32280:Inamed field_32280Lnet/minecraft/client/gui/screen/StatsScreen;field_32280:I
-
parent
- Mappings:
Namespace Name Mixin selector official aLeav;a:Lean;intermediary field_2648Lnet/minecraft/class_447;field_2648:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/StatsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
generalStats
- Mappings:
Namespace Name Mixin selector official nLeav;n:Leav$a;intermediary field_2644Lnet/minecraft/class_447;field_2644:Lnet/minecraft/class_447$class_4198;named generalStatsLnet/minecraft/client/gui/screen/StatsScreen;generalStats:Lnet/minecraft/client/gui/screen/StatsScreen$GeneralStatsListWidget;
-
itemStats
StatsScreen.ItemStatsListWidget itemStats- Mappings:
Namespace Name Mixin selector official oLeav;o:Leav$b;intermediary field_2642Lnet/minecraft/class_447;field_2642:Lnet/minecraft/class_447$class_4200;named itemStatsLnet/minecraft/client/gui/screen/StatsScreen;itemStats:Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;
-
mobStats
- Mappings:
Namespace Name Mixin selector official pLeav;p:Leav$c;intermediary field_2646Lnet/minecraft/class_447;field_2646:Lnet/minecraft/class_447$class_4202;named mobStatsLnet/minecraft/client/gui/screen/StatsScreen;mobStats:Lnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget;
-
statHandler
- Mappings:
Namespace Name Mixin selector official qLeav;q:Lafs;intermediary field_2647Lnet/minecraft/class_447;field_2647:Lnet/minecraft/class_3469;named statHandlerLnet/minecraft/client/gui/screen/StatsScreen;statHandler:Lnet/minecraft/stat/StatHandler;
-
selectedList
- Mappings:
Namespace Name Mixin selector official rLeav;r:Ldxk;intermediary field_2643Lnet/minecraft/class_447;field_2643:Lnet/minecraft/class_4280;named selectedListLnet/minecraft/client/gui/screen/StatsScreen;selectedList:Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;
-
downloadingStats
private boolean downloadingStats- Mappings:
Namespace Name Mixin selector official sLeav;s:Zintermediary field_2645Lnet/minecraft/class_447;field_2645:Znamed downloadingStatsLnet/minecraft/client/gui/screen/StatsScreen;downloadingStats:Z
-
-
Constructor Details
-
StatsScreen
- Mappings:
Namespace Name Mixin selector official <init>Leav;<init>(Lean;Lafs;)Vintermediary <init>Lnet/minecraft/class_447;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3469;)Vnamed <init>Lnet/minecraft/client/gui/screen/StatsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/stat/StatHandler;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
createLists
public void createLists()- Mappings:
Namespace Name Mixin selector official hLeav;h()Vintermediary method_2270Lnet/minecraft/class_447;method_2270()Vnamed createListsLnet/minecraft/client/gui/screen/StatsScreen;createLists()V
-
createButtons
public void createButtons()- Mappings:
Namespace Name Mixin selector official uLeav;u()Vintermediary method_2267Lnet/minecraft/class_447;method_2267()Vnamed createButtonsLnet/minecraft/client/gui/screen/StatsScreen;createButtons()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdxs;a(Ldqi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
onStatsReady
public void onStatsReady()- Specified by:
onStatsReadyin interfaceStatsListener- Mappings:
Namespace Name Mixin selector official wLeaw;w()Vintermediary method_2300Lnet/minecraft/class_452;method_2300()Vnamed onStatsReadyLnet/minecraft/client/gui/screen/StatsListener;onStatsReady()V
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreenin classScreen- Mappings:
Namespace Name Mixin selector official ai_Lean;ai_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
getSelectedStatList
- Mappings:
Namespace Name Mixin selector official xLeav;x()Ldxk;intermediary method_19399Lnet/minecraft/class_447;method_19399()Lnet/minecraft/class_4280;named getSelectedStatListLnet/minecraft/client/gui/screen/StatsScreen;getSelectedStatList()Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;
-
selectStatList
- Mappings:
Namespace Name Mixin selector official aLeav;a(Ldxk;)Vintermediary method_19390Lnet/minecraft/class_447;method_19390(Lnet/minecraft/class_4280;)Vnamed selectStatListLnet/minecraft/client/gui/screen/StatsScreen;selectStatList(Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;)V
-
getStatTranslationKey
- Mappings:
Namespace Name Mixin selector official aLeav;a(Lafo;)Ljava/lang/String;intermediary method_27027Lnet/minecraft/class_447;method_27027(Lnet/minecraft/class_3445;)Ljava/lang/String;named getStatTranslationKeyLnet/minecraft/client/gui/screen/StatsScreen;getStatTranslationKey(Lnet/minecraft/stat/Stat;)Ljava/lang/String;
-
getColumnX
int getColumnX(int index) - Mappings:
Namespace Name Mixin selector official aLeav;a(I)Iintermediary method_2285Lnet/minecraft/class_447;method_2285(I)Inamed getColumnXLnet/minecraft/client/gui/screen/StatsScreen;getColumnX(I)I
-
renderStatItem
- Mappings:
Namespace Name Mixin selector official aLeav;a(Ldqi;IILbrp;)Vintermediary method_2289Lnet/minecraft/class_447;method_2289(Lnet/minecraft/class_4587;IILnet/minecraft/class_1792;)Vnamed renderStatItemLnet/minecraft/client/gui/screen/StatsScreen;renderStatItem(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/item/Item;)V
-
renderIcon
- Mappings:
Namespace Name Mixin selector official cLeav;c(Ldqi;IIII)Vintermediary method_2282Lnet/minecraft/class_447;method_2282(Lnet/minecraft/class_4587;IIII)Vnamed renderIconLnet/minecraft/client/gui/screen/StatsScreen;renderIcon(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-