Class StatsScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.achievement.StatsScreen
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- StatsUpdateListener
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) classNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.NarratableSearchResult
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate ObjectSelectionList<?>(package private) static final ResourceLocationprivate boolean(package private) StatsScreen.ItemStatisticsListprotected final Screenprivate StatsScreen.MobsStatisticsList(package private) static final Componentprivate static final Componentprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int(package private) static final ResourceLocationprivate static final intprivate static final intprivate static final int(package private) static final ResourceLocationprivate static final intprivate static final int(package private) static final ResourceLocation(package private) final StatsCounterFields inherited from class net.minecraft.client.gui.screens.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MSFields inherited from interface net.minecraft.client.gui.screens.achievement.StatsUpdateListenerLOADING_SYMBOLS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) voidblitSlot(GuiGraphics p_282402_, int p_283228_, int p_283232_, Item p_282368_) (package private) voidblitSlotIcon(GuiGraphics p_281402_, int p_283145_, int p_283100_, ResourceLocation p_294791_) (package private) intgetColumnX(int p_96909_) (package private) static StringgetTranslationKey(Stat<ResourceLocation> p_96947_) protected voidinit()voidvoidbooleanvoidvoidrender(GuiGraphics p_281866_, int p_96914_, int p_96915_, float p_96916_) voidrenderBackground(GuiGraphics p_294504_, int p_295458_, int p_295307_, float p_295350_) voidsetActiveList(ObjectSelectionList<?> p_96925_) Methods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
SLOT_SPRITE
- 
HEADER_SPRITE
- 
SORT_UP_SPRITE
- 
SORT_DOWN_SPRITE
- 
PENDING_TEXT
- 
NO_VALUE_DISPLAY
- 
lastScreen
- 
statsList
- 
itemStatsListStatsScreen.ItemStatisticsList itemStatsList
- 
mobsStatsList
- 
stats
- 
activeList
- 
isLoadingprivate boolean isLoading
- 
SLOT_BG_SIZEprivate static final int SLOT_BG_SIZE- See Also:
 
- 
SLOT_STAT_HEIGHTprivate static final int SLOT_STAT_HEIGHT- See Also:
 
- 
SLOT_BG_Xprivate static final int SLOT_BG_X- See Also:
 
- 
SLOT_BG_Yprivate static final int SLOT_BG_Y- See Also:
 
- 
SLOT_FG_Xprivate static final int SLOT_FG_X- See Also:
 
- 
SLOT_FG_Yprivate static final int SLOT_FG_Y- See Also:
 
- 
SLOT_LEFT_INSERTprivate static final int SLOT_LEFT_INSERT- See Also:
 
- 
SLOT_TEXT_OFFSETprivate static final int SLOT_TEXT_OFFSET- See Also:
 
- 
SORT_NONEprivate static final int SORT_NONE- See Also:
 
- 
SORT_DOWNprivate static final int SORT_DOWN- See Also:
 
- 
SORT_UPprivate static final int SORT_UP- See Also:
 
 
- 
- 
Constructor Details- 
StatsScreen
 
- 
- 
Method Details- 
initprotected void init()
- 
initListspublic void initLists()
- 
initButtonspublic void initButtons()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
onStatsUpdatedpublic void onStatsUpdated()- Specified by:
- onStatsUpdatedin interface- StatsUpdateListener
 
- 
isPauseScreenpublic boolean isPauseScreen()- Overrides:
- isPauseScreenin class- Screen
 
- 
setActiveList
- 
getTranslationKey
- 
getColumnXint getColumnX(int p_96909_) 
- 
blitSlot
- 
blitSlotIcon
 
-