Class StatsScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
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 Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate ObjectSelectionList<?>
private boolean
(package private) StatsScreen.ItemStatisticsList
protected final Screen
private StatsScreen.MobsStatisticsList
private static final Component
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
(package private) final StatsCounter
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
Fields inherited from interface net.minecraft.client.gui.screens.achievement.StatsUpdateListener
LOADING_SYMBOLS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
blitSlotIcon
(PoseStack p_96953_, int p_96954_, int p_96955_, int p_96956_, int p_96957_) (package private) int
getColumnX
(int p_96909_) (package private) static String
getTranslationKey
(Stat<ResourceLocation> p_96947_) protected void
init()
void
void
boolean
void
void
void
setActiveList
(ObjectSelectionList<?> p_96925_) Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, vLine
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
PENDING_TEXT
-
lastScreen
-
statsList
-
itemStatsList
StatsScreen.ItemStatisticsList itemStatsList -
mobsStatsList
-
stats
-
activeList
-
isLoading
private boolean isLoading -
SLOT_TEX_SIZE
private static final int SLOT_TEX_SIZE- See Also:
-
SLOT_BG_SIZE
private static final int SLOT_BG_SIZE- See Also:
-
SLOT_STAT_HEIGHT
private static final int SLOT_STAT_HEIGHT- See Also:
-
SLOT_BG_X
private static final int SLOT_BG_X- See Also:
-
SLOT_BG_Y
private static final int SLOT_BG_Y- See Also:
-
SLOT_FG_X
private static final int SLOT_FG_X- See Also:
-
SLOT_FG_Y
private static final int SLOT_FG_Y- See Also:
-
SLOT_LEFT_INSERT
private static final int SLOT_LEFT_INSERT- See Also:
-
SLOT_TEXT_OFFSET
private static final int SLOT_TEXT_OFFSET- See Also:
-
SORT_NONE
private static final int SORT_NONE- See Also:
-
SORT_DOWN
private static final int SORT_DOWN- See Also:
-
SORT_UP
private static final int SORT_UP- See Also:
-
-
Constructor Details
-
StatsScreen
-
-
Method Details
-
init
protected void init() -
initLists
public void initLists() -
initButtons
public void initButtons() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
onStatsUpdated
public void onStatsUpdated()- Specified by:
onStatsUpdated
in interfaceStatsUpdateListener
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
getActiveList
-
setActiveList
-
getTranslationKey
-
getColumnX
int getColumnX(int p_96909_) -
blitSlot
-
blitSlotIcon
-