Package net.minecraft.client.gui.screen
Class StatsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.StatsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/StatsScreen
intermediary net/minecraft/class_447
official fub
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private boolean
private static final int
private static final int
private static final int
private static final Text
(package private) static final Identifier
private static final Text
(package private) @Nullable StatsScreen.ItemStatsListWidget
private ThreePartsLayoutWidget
private static final Text
(package private) static final Text
protected final Screen
private @Nullable AlwaysSelectedEntryListWidget
<?> (package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) final StatHandler
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
(package private) static String
getStatTranslationKey
(Stat<Identifier> stat) protected void
init()
Called when a screen should be initialized.void
protected void
void
boolean
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_49516
Lnet/minecraft/class_447;field_49516:Lnet/minecraft/class_2561;
official b
Lfub;b:Lxv;
-
SLOT_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_TEXTURE
Lnet/minecraft/client/gui/screen/StatsScreen;SLOT_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45418
Lnet/minecraft/class_447;field_45418:Lnet/minecraft/class_2960;
official c
Lfub;c:Lalz;
-
HEADER_TEXTURE
- Mappings:
Namespace Name Mixin selector named HEADER_TEXTURE
Lnet/minecraft/client/gui/screen/StatsScreen;HEADER_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45419
Lnet/minecraft/class_447;field_45419:Lnet/minecraft/class_2960;
official d
Lfub;d:Lalz;
-
SORT_UP_TEXTURE
- Mappings:
Namespace Name Mixin selector named SORT_UP_TEXTURE
Lnet/minecraft/client/gui/screen/StatsScreen;SORT_UP_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45420
Lnet/minecraft/class_447;field_45420:Lnet/minecraft/class_2960;
official s
Lfub;s:Lalz;
-
SORT_DOWN_TEXTURE
- Mappings:
Namespace Name Mixin selector named SORT_DOWN_TEXTURE
Lnet/minecraft/client/gui/screen/StatsScreen;SORT_DOWN_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45421
Lnet/minecraft/class_447;field_45421:Lnet/minecraft/class_2960;
official u
Lfub;u:Lalz;
-
DOWNLOADING_STATS_TEXT
- Mappings:
Namespace Name Mixin selector named DOWNLOADING_STATS_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;DOWNLOADING_STATS_TEXT:Lnet/minecraft/text/Text;
intermediary field_26546
Lnet/minecraft/class_447;field_26546:Lnet/minecraft/class_2561;
official v
Lfub;v:Lxv;
-
NONE_TEXT
- Mappings:
Namespace Name Mixin selector named NONE_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;NONE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46185
Lnet/minecraft/class_447;field_46185:Lnet/minecraft/class_2561;
official w
Lfub;w:Lxv;
-
GENERAL_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named GENERAL_BUTTON_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;GENERAL_BUTTON_TEXT:Lnet/minecraft/text/Text;
intermediary field_49517
Lnet/minecraft/class_447;field_49517:Lnet/minecraft/class_2561;
official x
Lfub;x:Lxv;
-
ITEM_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named ITEM_BUTTON_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;ITEM_BUTTON_TEXT:Lnet/minecraft/text/Text;
intermediary field_49518
Lnet/minecraft/class_447;field_49518:Lnet/minecraft/class_2561;
official y
Lfub;y:Lxv;
-
MOBS_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named MOBS_BUTTON_TEXT
Lnet/minecraft/client/gui/screen/StatsScreen;MOBS_BUTTON_TEXT:Lnet/minecraft/text/Text;
intermediary field_49519
Lnet/minecraft/class_447;field_49519:Lnet/minecraft/class_2561;
official z
Lfub;z:Lxv;
-
field_49520
private static final int field_49520- See Also:
- Mappings:
Namespace Name Mixin selector named field_49520
Lnet/minecraft/client/gui/screen/StatsScreen;field_49520:I
intermediary field_49520
Lnet/minecraft/class_447;field_49520:I
official A
Lfub;A:I
-
field_49521
private static final int field_49521- See Also:
- Mappings:
Namespace Name Mixin selector named field_49521
Lnet/minecraft/client/gui/screen/StatsScreen;field_49521:I
intermediary field_49521
Lnet/minecraft/class_447;field_49521:I
official B
Lfub;B:I
-
field_49522
private static final int field_49522- See Also:
- Mappings:
Namespace Name Mixin selector named field_49522
Lnet/minecraft/client/gui/screen/StatsScreen;field_49522:I
intermediary field_49522
Lnet/minecraft/class_447;field_49522:I
official C
Lfub;C:I
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/StatsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_2648
Lnet/minecraft/class_447;field_2648:Lnet/minecraft/class_437;
official a
Lfub;a:Lftx;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/StatsScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_49523
Lnet/minecraft/class_447;field_49523:Lnet/minecraft/class_8132;
official D
Lfub;D:Lfrt;
-
generalStats
- Mappings:
Namespace Name Mixin selector named generalStats
Lnet/minecraft/client/gui/screen/StatsScreen;generalStats:Lnet/minecraft/client/gui/screen/StatsScreen$GeneralStatsListWidget;
intermediary field_2644
Lnet/minecraft/class_447;field_2644:Lnet/minecraft/class_447$class_4198;
official E
Lfub;E:Lfub$a;
-
itemStats
- Mappings:
Namespace Name Mixin selector named itemStats
Lnet/minecraft/client/gui/screen/StatsScreen;itemStats:Lnet/minecraft/client/gui/screen/StatsScreen$ItemStatsListWidget;
intermediary field_2642
Lnet/minecraft/class_447;field_2642:Lnet/minecraft/class_447$class_4200;
official F
Lfub;F:Lfub$b;
-
mobStats
- Mappings:
Namespace Name Mixin selector named mobStats
Lnet/minecraft/client/gui/screen/StatsScreen;mobStats:Lnet/minecraft/client/gui/screen/StatsScreen$EntityStatsListWidget;
intermediary field_2646
Lnet/minecraft/class_447;field_2646:Lnet/minecraft/class_447$class_4202;
official G
Lfub;G:Lfub$c;
-
statHandler
- Mappings:
Namespace Name Mixin selector named statHandler
Lnet/minecraft/client/gui/screen/StatsScreen;statHandler:Lnet/minecraft/stat/StatHandler;
intermediary field_2647
Lnet/minecraft/class_447;field_2647:Lnet/minecraft/class_3469;
official H
Lfub;H:Laxq;
-
selectedList
- Mappings:
Namespace Name Mixin selector named selectedList
Lnet/minecraft/client/gui/screen/StatsScreen;selectedList:Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;
intermediary field_2643
Lnet/minecraft/class_447;field_2643:Lnet/minecraft/class_4280;
official I
Lfub;I:Lfpb;
-
downloadingStats
private boolean downloadingStats- Mappings:
Namespace Name Mixin selector named downloadingStats
Lnet/minecraft/client/gui/screen/StatsScreen;downloadingStats:Z
intermediary field_2645
Lnet/minecraft/class_447;field_2645:Z
official J
Lfub;J:Z
-
-
Constructor Details
-
StatsScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/StatsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/stat/StatHandler;)V
intermediary <init>
Lnet/minecraft/class_447;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_3469;)V
official <init>
Lfub;<init>(Lftx;Laxq;)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 named createLists
Lnet/minecraft/client/gui/screen/StatsScreen;createLists()V
intermediary method_2270
Lnet/minecraft/class_447;method_2270()V
official l
Lfub;l()V
-
createButtons
public void createButtons()- Mappings:
Namespace Name Mixin selector named createButtons
Lnet/minecraft/client/gui/screen/StatsScreen;createButtons()V
intermediary method_2267
Lnet/minecraft/class_447;method_2267()V
official E
Lfub;E()V
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;c()V
-
close
public void close() -
onStatsReady
public void onStatsReady()- Mappings:
Namespace Name Mixin selector named onStatsReady
Lnet/minecraft/client/gui/screen/StatsScreen;onStatsReady()V
intermediary method_2300
Lnet/minecraft/class_447;method_2300()V
official F
Lfub;F()V
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldPause
Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
official j
Lftx;j()Z
-
selectStatList
- Mappings:
Namespace Name Mixin selector named selectStatList
Lnet/minecraft/client/gui/screen/StatsScreen;selectStatList(Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget;)V
intermediary method_19390
Lnet/minecraft/class_447;method_19390(Lnet/minecraft/class_4280;)V
official a
Lfub;a(Lfpb;)V
-
getStatTranslationKey
- Mappings:
Namespace Name Mixin selector named getStatTranslationKey
Lnet/minecraft/client/gui/screen/StatsScreen;getStatTranslationKey(Lnet/minecraft/stat/Stat;)Ljava/lang/String;
intermediary method_27027
Lnet/minecraft/class_447;method_27027(Lnet/minecraft/class_3445;)Ljava/lang/String;
official a
Lfub;a(Laxm;)Ljava/lang/String;
-